alexkrechik / VSCucumberAutoComplete

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

Autocomplete cucumber expressions and regex steps #467

Open LukasLewandowski opened 1 year ago

LukasLewandowski commented 1 year ago

Autocompletion is not adding inputs for data in steps.

Expected behavior Autocompletion should add step into feature file with respecting inputs for data. Example: Then I am on '' page

Cucumberautocomplete part of VSCode settings:

    "cucumberautocomplete.syncfeatures": "./cypress/e2e/*.feature",
    "cucumberautocomplete.steps": ["cypress/support/step_definitions/**/*.ts"],
    "cucumberautocomplete.smartSnippets": true,
    "cucumberautocomplete.stepsInvariants": true

Step definition: Then('I am on {string} page', (pageName: string) => {

Gherkin step line Then I am on 'login' page

Am I missing some additional config?