Syntax Highlighting
The Cycle Feature File editor contains syntax highlighting. With syntax highlighting, recognized text is shown in different colors depending on what it is.
For instance, the Feature and Scenario keywords are displayed in darker blue "frost" color, Step keywords are displayed in lighter blue "surf" color, and strings of text in quotes are lime-colored. This helps keep the elements of a Feature File clearly organized.
Text Types in the Cycle Editor
- Coconut -
#Comment
- Frost -
"Feature" or "Scenario" keywords
- Surf -
Step keywords
- Lime -
"string of text"
- Grapefruit -
@tag
- Berry -
<Step Argument>
- Tangerine -
number
- Passionfruit -
$variable
- In context:
Syntax error highlighting
The Cycle Feature File Editor will display a wavy red underline under any Step that is unknown or contains a syntax error. A red X icon will also be displayed before the row number of any line with an error. When the Step is corrected, the underline and red X is removed.