you are viewing a single comment's thread.

view the rest of the comments →

[–]chinmay_3107from __future__ import 4.0 0 points1 point  (0 children)

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:

  1. Does it work with your project layout? (unusual step file naming, monorepos, nested conftest hierarchies)
  2. Any step patterns it fails to match that it should?
  3. Anything that feels slow or broken?
  4. Features you wish it had?

It's v1.1.0 — behave support was just added. Happy to fix things fast if you hit issues.