Cucumber Step Navigator
A VS Code extension that enables clicking on Gherkin steps in .feature files to jump directly to their TypeScript step definitions.
Features
- Click to Navigate: Cmd+Click (Mac) or Ctrl+Click (Windows/Linux) on any Given/When/Then step to jump to its definition
- Smart Matching: Automatically handles Cucumber expressions like
{int}, {string}, {float}, {word}
Usage
- Open a
.feature file
- Hold
Cmd (Mac) or Ctrl (Windows/Linux) and hover over a step
- Click to navigate to the step definition
Example
In your feature file:
Given User has 5 posts
Click on this line → jumps to:
Given("User has {int} posts", async function (count: number) {
// implementation
});
| |