Press keyboard shortcut Ctrl+Space or Alt+Click +Click to bring up the autocomplete options menu.
Gherkin keywords
Examples table header
Inside the header row of an example table the autocomplete menu contains names of the scenario parameters that have been entered above using the <> step parameter syntax.
Autocomplete can also be triggered if the cursor is inside the already entered column header text to easily replace the header value with another
Autocomplete can also be triggered by placing the cursor after the last header column and pressing 'Ctrl+Space'
Once the option is picked the autocomplete will also enter the necessary '|' divider characters for the new column and place the cursor in the next cell down
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.
Add Comment