Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typeflat
printabletrue

Correct line indentation

Panel
bgColor#FFFFFF

Spaces are used to indent relevant sections of a Feature according to the format rules of Gherkin. To correct indentation warnings, simply click the highlighted toolbar button. Clicking on the highlighted button while holding the Shift key will remove indentation from all lines.

image-20241001-192834.pngImage Removed
Info
Tip - you image-20241001-194836.pngImage Added
Note

No Tabs
Note that using the Tab characters for indentation is not supported. Whenever you press the Tab key two spaces will be inserted instead.
If you are pasting Feature content from external editors, any Tabs that are pasted may lead to auto indentation not working.

Info

Indent only selected lines
You can also selectively apply the indentation corrections to only the sections that have been selected

image-20241001-193259.pngImage Modified

Automatic alignment of tables

Panel
bgColor#FFFFFF

Columns in data tables used in step parameters as well as tables in the Examples sections are automatically aligned as you type

image-20241001-193744.pngImage Modified

Note that for the automatic alignment to work the editor option shown below must be turned on

image-20241001-194336.pngImage Modified
Info

Tip - to Remove trailing white space
To delete unnecessary white space from a table column, simply place the cursor at the end of the cell’s white space and press the Backspace key or double click to select the white space and press the Delete key.

image-20241001-193951.pngImage Modified