Open gitToSantosh opened 2 days ago
It's a bug in CucumberAutocomplete: https://github.com/alexkrechik/VSCucumberAutoComplete/issues/292 I've tried with official Cucumber extension, it handles optional part correctly and navigates to the definition from both steps. So for now I suggest to switch on it if applicable.
Also I've submitted a fix to https://github.com/alexkrechik/VSCucumberAutoComplete/pull/509. Lets keep this issue open to track the progress.
Problem When I have steps like below:
and step as below
Cucumber autocomplete only identifies the negation step and fails to identify the positive step and shows as warning
Alternatively, when i use below step
Cucumber autocomplete identifies both positive and negative steps, but here bddgen fails to identify one of the steps
Please provide some solutions