Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Correct line indentation

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-194836.png

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.

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

image-20241001-193259.png

Automatic alignment of tables

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.png

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

image-20241001-194336.png

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.png

  • No labels