alexkrechik / VSCucumberAutoComplete

Cucumber (Gherkin) Full Support Extension for VSCode
https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete
MIT License
331 stars 80 forks source link

Incorrectly matches scenario outline step when using "_" with a <parameter> #403

Closed jamiemac87 closed 3 years ago

jamiemac87 commented 3 years ago

Describe the bug Scenario Outline gherkin steps that use _ within a parameter e.g <machine_id> cannot find there step definition

Step definition:

@when('the following {machine_ids} are selected')

Gherkin step line

When the following <machine_ids> are selected

However if I remove the _ character everything works fine e.g

When the following <machineIds> are selected
@when('the following {machineIds} are selected')

I have tried adding custom parameters within my setting.json file to replace any _ characters but had no luck