Skip to content
Mark edited this page Jun 20, 2024 · 8 revisions

Visual Studio Code

Prerequisites

Settings

Open VS Code Command Palette with F1 or Ctrl+Shift+P.

Type:

Open User Settings (JSON)

Or type:

Open Workspace Settings (JSON)

Hit Enter.

Add the following to settings.json:

{
  "cucumberautocomplete.steps": [
    "cypress/e2e/**/*.ts",
    "cypress/support/step_definitions/**/*.ts",
    "node_modules/cypress-cucumber-steps/**/*.ts"
  ],
  "cucumberautocomplete.syncfeatures": "cypress/e2e/**/*.feature"
}

Autocomplete and go to definitions should now be enabled for feature files.

Clone this wiki locally