How to configure properly VSCode for cucumber.js

45 views Asked by At

I am learning cucumber.js with visual studio code.

In this test, all the steps are in error in the editor : enter image description here

I tried a lot of things in my config, without success.

My current conf is

{
"gherkin-autocomplete.featuresPath": "features",
"cucumberautocomplete.steps": [
    "features/step_definitions/*.js",
],
"cucumberautocomplete.syncfeatures": "features/*feature",

}

And my folders in my project are organized like that :

enter image description here

What could be an ideal configuration in my case ?

0

There are 0 answers