Skip to content

nguyenngoclongdev/gherkin-editor

Repository files navigation

CI

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads Visual Studio Marketplace Rating (Stars) GitHub license

Gherkin Editor

Beautiful syntax highlighting support for Gherkin Syntax in Visual Studio Code.

If you find this extension useful for your testing projects, please consider supporting me by Patreon, KO-FI or Paypal. It's a great way to help me maintain and improve this tool in the future. Your support is truly appreciated!

KO-FI Paypal Patreon

Installation

Get it from Visual Studio Marketplace or Open VSX Registry.

Features

  • Syntax highlighting

Using the extension

Gherkin Editor

  1. Open any .feature file in VS Code editor.
  2. Click on the "View" menu and select "Command Palette" (or simply press "Ctrl + Shift + P" on Windows/Linux or "Cmd + Shift + P" on Mac).
  3. Type "Change Language Mode" in the "Command Palette" and select it.
  4. Select "Configure File Association for '.feature'" and choose feature from the list of available languages.

Quick Settings

"files.associations": {
    "*.feature": "feature"
}

Now Visual Studio Code will recognize .feature files as cucumber files and provide syntax highlighting, code completion, and other language-specific features.

Roadmaps

  • ■■■■■■■■■■ 100% Syntax Highlight
  • □□□□□□□□□□ 0% Code Completion
  • ■■□□□□□□□□ 20% Format & Validator
  • □□□□□□□□□□ 0% Context Outline (Tree View)

Feedback

If you discover a bug, or have a suggestion for a feature request, please submit an issue.

LICENSE

This extension is licensed under the MIT License