talira

Cucumber (Gherkin) Full Support

Gherkin highlighting, step autocomplete, validation and formatting for Cucumber feature files in VS Code

open sourceMITfree

A Visual Studio Code extension for Cucumber's Gherkin feature files: syntax highlighting, snippets, autocompletion of steps parsed from the step definition paths you give it, validation of every step as you type, go to definition for steps, and formatting, tables included. Step definitions can be in JavaScript, TypeScript, Python, Ruby, Kotlin and other languages, Gherkin in many spoken languages works, and it supports page objects. Suggestions are sorted by how often each step is used. MIT licensed.

Problems it solves

  • autocomplete Cucumber steps in my feature files from the step definitions I already wrote
  • see which Gherkin steps have no matching step definition
  • format the tables in my .feature files

Features

  • Gherkin syntax highlighting and snippets
  • step autocompletion from your step definition files
  • on-type validation of every step
  • go to definition for steps
  • document formatting, including tables
  • step definitions in JavaScript, TypeScript, Python, Ruby, Kotlin and more
  • Gherkin page objects