Keyboard shortcuts in DataStax Studio notebooks
Studio notebooks have keyboard shortcuts to increase your proficiency while writing code and content. Mode depends on cursor location:
-
Edit mode when focus is on a cell editor.
-
Command mode when focus is on the cell.
Edit mode keyboard shortcuts
Shortcut | Description |
---|---|
|
Display Shortcut help. |
|
Unfocus the editor and focus the cell (switch to Command mode). |
|
Save code and execute cell. |
|
Content assist. |
|
Toggle line numbers. |
|
Toggle comment. |
|
Hide the editor and focus on the cell (switch to Command mode). |
|
Add a new cell below and switch to its editor. |
|
Add a new cell above and switch to its editor. |
|
Toggle Schema view. |
|
Focus on the cell below, entering its Command mode. |
|
Focus on the cell above, entering its Command mode. |
|
Delete from the cursor to the beginning of the line. |
|
Delete from the cursor to the end of the line. |
Command mode keyboard shortcuts
Shortcut | Description |
---|---|
|
Display Shortcut help. |
|
Focus on the cell’s code editor (switch to Edit mode). |
|
Delete the current cell and focus on next available cell. |
|
Toggle editor visibility. |
|
Add new cell below and switch to its editor. |
|
Add new cell above and switch to its editor. |
|
Toggle Schema view. |
|
Switch to the cell above. |
|
Switch to the cell below. |
|
Move current cell up. |
|
Move current cell down. |