alexkrechik / VSCucumberAutoComplete

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

will this extension work for python(behave) #510

Open knreddy1810 opened 1 month ago

knreddy1810 commented 1 month ago

I installed this in vs code for my behave Project. All the step definitions are showing as not completed(yellow lines) below is my setting

{ "cucumberautocomplete.steps": [ "features/steps/*.py" ], "cucumberautocomplete.syncfeatures": "features/feature_files/*/.feature", "cucumberautocomplete.strictGherkinCompletion": true, "cucumberautocomplete.strictGherkinValidation": true, "cucumberautocomplete.smartSnippets": true, "cucumberautocomplete.stepsInvariants": true }

knreddy1810 commented 1 month ago

used asterisks().py and asterisks().feature somehow it is not populating

synvima commented 1 month ago

We use this extension with python and it works great as long as you do not put gherkin examples in docstrings (Ref #506).

This is our settings:

    "cucumberautocomplete.steps": [
        "./features/steps/*.py"
    ],
    "cucumberautocomplete.strictGherkinCompletion": false,
    "cucumberautocomplete.strictGherkinValidation": false,
    "cucumberautocomplete.smartSnippets": true,
    "cucumberautocomplete.stepsInvariants": true