Syntax Checking

Syntax Checking

Any Gherkin syntax errors are automatically highlighted so that they could be easily corrected.

Out of order Gherkin keywords

Hovering over the highlighted error will give more details in a pop up message

image-20241001-171724.png

Missing data table header names

image-20241001-172347.png

Missing data table cells

image-20241001-173913.png

 

Missing Examples table value

image-20241001-172828.png

 

Unused Scenario parameter

image-20241001-173139.png

Duplicate Examples table column

image-20241001-173548.png

Incorrect indentation

A warning is shown for any lines that are not at expected indentation level according to Gherkin syntax

image-20241001-191155.png

Tip - to correct indentation of a data table, simply place the cursor before the leading cell of any of the rows and press Space or Tab key to adjust indentation of all rows together

image-20241001-191609.png

To unindent press Delete key or Shift+Tab