Install vscode extension for cucumber (Cucumber (Gherkin) Full Support) and add the below code under ".vscode/settings.json" file.
It works only with Open Folder (for example say you open
~/bdd-prj
), where settings.json
is placed at ~/bdd-prj/.vscode/settings.json
// Save the below code in settings.json file under.vscode folder
{
"cucumberautocomplete. steps": [
"e2e/src/steps/*.ts"
],
"cucumberautocomplete. syncfeatures": "e2e/src/ features/*feature",
"cucumberautocomplete. strictGherkinCompletion": true
}
No comments:
Post a Comment