@cucumber/language-service

Cucumber Language Service

Usage no npm install needed!

<script type="module">
  import cucumberLanguageService from 'https://cdn.skypack.dev/@cucumber/language-service';
</script>

README

test-javascript

Cucumber Language Service

This library implements the services used by Cucumber Language Server and Cucumber Monaco.

Supported features

  • Formatting / pretty printing
  • Handle parse errors
  • Code completion
    • Steps
    • Generic Gherkin keywords
  • Syntax validation
    • Parse errors
    • Undefined steps
    • Ambiguous steps
    • Ignore Scenario Outline steps
  • Semantic tokens (syntax highlighting)
    • Gherkin keywords
    • Gherkin step parameters
    • DocStrings
    • Data tables
    • Tags
    • Scenario Outline step
    • Examples tables headers