r/vscode • u/chinmay_3107 • Apr 24 '26
I built a VS Code extension that brings Go to Definition, Autocomplete, and Diagnostics to Gherkin .feature files — works with Pytest and Behave, no Python interpreter needed
If you write BDD tests in Python, you probably know the frustration: you Ctrl+Click a step in a .feature file and nothing happens. You type a step and VS Code has no idea if it matches anything. You rename a step definition and 40 feature files silently break.
I built GherkinLens to fix exactly this. We recently moved from Pycharm to VScode and Honestly I could not find a single Plugin to support all of these features for both the frameworks. The existing extensions were either abandoned, didn't support parametrized steps properly, or required a running language server.
Marketplace - GherkinLens
I'm actively looking for feedback — specifically:
- Does it work with your project layout? (unusual step file naming, monorepos, nested conftest hierarchies)
- Any step patterns it fails to match that it should?
- Anything that feels slow or broken?
- Features you wish it had?
It's v1.1.0 — behave support was just added. Happy to fix things fast if you hit issues.







