Gherkin grammar for tree-sitter
To make this tree-sitter grammar complete (for english) we need to add
- Support for features with a single scenario with single line titles and given when then steps
- Support for multiline descriptions for features and scenarios
- Support for features using keyword
Exampleinstead ofScenario - Support for scenarios with only two steps
- Support for scenarios with more than three steps
- Support for multiple scenarios within a single feature
- Support for
AndandButkeywords for steps - Support for
*keyword for steps - Support ordering enforcement for steps
- Support for both spaces and tabs as optional indentations indentations
- Support for
Rules - Support for
Backgrouds - Support for '#' comments
- Support for '@' tags"
- Support for
"""and backtics doc strings as step arguments - Support for content types for docs strings
- Support for data tables as step arguments
- Support for
Scenario Outlines - Support for using the keyword
Scenario Templateinstead ofSenario Outline
To make this tree sitter usable for syntax highlighting, we need to add syntax highlight queries
- Add syntax highlight queries for keywords
- Add syntax highlight queries for docstrings
- Add syntax highlight queries for data tables
- Add syntax highlight queries for tags
- Add syntax highlight queries for comments