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 16 Next »

Gherkin data tables can often be awkward to work with especially when you want to add a new column in the middle of an existing table or want to rearrange rows or columns.

To make working with data tables easier the editor supports features described below

Show cell borders

Instead of presenting Gherkin tables in a traditional way using only '|' (pipe) character to separate columns like shown below

image-20241002-175636.png

The editor supports showing cell borders like in the screenshot below

image-20241002-175707.png

Note that the '|' characters are still there, they are just hidden and a border is shown instead. So if for example you select all text, copy and then paste the content into an external editor the pipe characters will be present as you would expect.

This feature is turned on by default but can be turned off if required via the Editor preferences menu.

Automatic alignment of columns

The columns of data tables are automatically aligned as you type so there is no need to press any keyboard shortcuts or buttons after an edit

image-20241002-154143.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

Inline table operations toolbar

Placing the cursor inside a table brings up the inline table operations toolbar which has dedicated buttons to easily add/remove/reorder columns and rows or delete the table entirely

image-20241002-154611.png

The inline table operations toolbar can be turned off if required (e.g. before taking a screenshot) via Editor preferences toolbar options menu

Intuitive cell range selection

Selecting a range of cells can be done in manner similar to a typical spreadsheet application by either Click & Drag mouse action or via keyboard key combination of Shift+Arrow Keys

image-20241002-161130.png

Clearing cells

If you press Delete / Backspace key while a range of cells is selected the values will be deleted but the table structure will remain unchanged

image-20241002-161950.png

Create new table using Tab

Starting a new table can be done easily by first typing the header value for the first column and then pressing the Tab key

image-20241002-163920.png

To add further columns simply continue to type followed by the Tab key again

image-20241002-164853.png

Add a new row shortcut

To add a new row simply place the cursor inside the table and press Ctrl+Enter keys

image-20241002-164333.png

Tab key navigation

Press Tab key to navigate to the next cell on the right or the first cell of the next row if no more cells

Press Shift+Tab to navigate to the previous cell on the left or to the last cell of the previous row if no more cells

image-20241002-165113.png

Copy & Paste a range of cells

Selected range of cells can be copied via traditional keyboard shortcut Ctrl+C

image-20241002-173800.png

And then can be pasted via Ctrl+V

image-20241002-171459.png

Tables auto expand

Note that if the destination table is smaller than the copied range of cells than it will have new rows and/or columns automatically added to accommodated the pasted data

image-20241002-173716.png

Paste into other Jira Issues

Copying also works between different browser windows or page reloads, so you can paste copied cell data into tables of other Jira issues

image-20241002-171927.png
image-20241002-172336.pngimage-20241002-172350.png
image-20241002-173011.png

Copy to and from Excel & Google Sheets

Copied range of cells can also be pasted into external spreadsheet type applications such as Microsoft Excel or Google Sheets

image-20241002-171927.png
image-20241002-172336.pngimage-20241002-172350.png
image-20241002-174205.pngimage-20241002-174240.png

Tables are auto created

When pasting cell data the destination table does not have to exist, simply place the cursor at the start of a blank line and press Ctrl+V

image-20241002-174805.png

the copied data will be inserted into a new table automatically

image-20241002-174926.png

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.