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
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
Autocomplete
Press keyboard shortcut Ctrl+Space or Alt+Click to bring up the autocomplete options menu.
Gherkin keywords
Examples table header
If you need to rename a scenario parameter that you have already entered in several of the scenario steps, do it by updating the last occurrence that is in the Examples header section.
This way the other occurrences above will be updated automatically and momentarily highlighted in yellow as you type to indicate the automatic renaming.
Syntax Checking
Any Gherkin syntax errors are automatically highlighted so that they could be easily corrected.
Add Comment