Add table of script editor keyboard shortcuts

Closes #707
pull/799/head
pierwill 2020-03-06 12:15:21 -08:00
parent 9a3753acba
commit 6c29bd35c1
1 changed files with 8 additions and 2 deletions

View File

@ -94,9 +94,15 @@ The default time range is 5m.
Click **Query Builder** to use the builder to create a Flux query. Click **Script Editor** to manually edit the query.
#### Add comments to your script
#### Keyboard shortcuts
In **Script Editor** mode, press `Control+/` to toggle between commenting a line out.
In **Script Editor** mode, the following keyboard shortcuts are available:
| Key | Description |
|--------------------------------|---------------------------------------------|
| `Control + /` (`⌘ + /` on Mac) | Comment/uncomment current or selected lines |
| `Control + Enter` | Submit query |
## Save your query as a dashboard cell or task