To switch into Gherkin Text Editor Mode use the mode buttons in the footer section of the editor panel
note that in the Data Center version of the app the mode buttons are located on the left and the Save & Cancel buttons on the right
Syntax Highlighting
[ Gherkin Keywords ] [ User Story Keywords ] [ Simple Step Parameters ] [ Scenario Outline Parameters ] [ Doc String Step Parameters ] [ XML Step Parameters ] [ Tags ] [ Comments ] [ Questions & Answers ] [ 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
0 Comments