/
Syntax Highlighting
Syntax Highlighting
[ 1 Gherkin Keywords ] [ 2 User Story Keywords ] [ 3 Simple Step Parameters ] [ 4 Scenario Outline Parameters ] [ 5 Doc String Step Parameters ] [ 6 XML Step Parameters ] [ 7 Tags ] [ 8 Comments ] [ 9 Questions & Answers ] [ 10 Invalid text ]
Gherkin Keywords
No '*'
Note that using * (asterisk character) as a step keyword is not supported as it does not improve readability of the examples
User Story Keywords
Simple Step Parameters
Doc String Step Parameters
Doc strings are highlighted in purple colour
XML Step Parameters
Tags
Comments
Questions & Answers
Invalid text
If there is any text that according to the Cucumber Gherkin syntax does not belong to any of the Feature file elements, then it is underlined in red and an error icon is shown in the gutter
Note that such errors to be highlighted the 'Errors' option in the Gutter options drop down menu must be turned on as shown below
, multiple selections available,