Text editor keyboard shortcuts
The code pane is a full code editor, so the usual editing shortcuts apply.
#Worth knowing
The code pane has to have focus for these to work.
On macOS, Cmd replaces Ctrl throughout.
Escape closes the search panel and cancels a multi-cursor selection.
#Shortcuts
Shortcut | Does |
|---|---|
Ctrl+F | Find |
Ctrl+H | Replace |
Ctrl+D | Select the next occurrence of the selection |
Alt+drag | Column select |
Alt+click | Add a cursor |
Tab / Shift+Tab | Indent / outdent the selection |
Ctrl+/ | Toggle a comment, where the language has them |
Ctrl+Z / Ctrl+Shift+Z | Undo / redo |
Ctrl+A | Select all |
Home / End | Start / end of line |
#A few things that catch people out
Ctrl+D repeatedly is the quickest way to rename every occurrence of a node.
Indentation is significant in several languages. Use Tab on a selection rather than editing each line.
Comment syntax differs per language; the shortcut uses the right one.
#Related
The source is right there. Read it.
