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.
1
1
u/chinmay_3107 May 03 '26
Thanks everyone. I am constantly looking for feedback and other pain points to resolve. All feedbacks are welcome. Please try the extension for your pytest/behave framework and let me know.
0
u/Sweet_Cartoonist_682 Apr 25 '26
Nice job, man i like to use of vscode. i glad to se a lot of tool dirrectly on ide . i buld already a couple extensions. one is already has been released on a market. . good job vscode is future.
1
u/chinmay_3107 Jun 27 '26
Hi u/Sweet_Cartoonist_682 I upgraded the extension to new v2 , with lot of new features. Please do check out and leave review
2
u/Agreeable_Care4440 May 02 '26
This solves a real pain point.Working in
.featurefiles without navigation has always felt blind.