Core Nodes
Code
Keyboard Shortcuts

Keyboard shortcuts when using the Code editor

The Code node editing environment supports a range of keyboard shortcuts to speed up and enhance your experience. Select the appropriate tab to see the relevant shortcuts for your operating system.

Cursor Movement

=== "Windows"

ActionShortcut
Move cursor left++left++
Move cursor right++right++
Move cursor up++up++
Move cursor down++down++
Move cursor by word left++control+left++
Move cursor by word right++control+right++
Move to line start++home++ or ++control+left++
Move to line end++end++ or ++control+right++
Move to document start++control+home++
Move to document end++control+end++
Move page up++page-up++
Move page down++page-down++

=== "macOS"

ActionShortcut
Move cursor left++left++ or ++control+b++
Move cursor right++right++ or ++control+f++
Move cursor up++up++ or ++control+p++
Move cursor down++down++ or ++control+n++
Move cursor by word left++option+left++
Move cursor by word right++option+right++
Move to line start++command+left++ or ++control+a++
Move to line end++command+right++ or ++control+e++
Move to document start++command+up++
Move to document end++command+down++
Move page up++page-up++ or ++option+v++
Move page down++page-down++ or ++control+v++

=== "Linux"

ActionShortcut
Move cursor left++left++
Move cursor right++right++
Move cursor up++up++
Move cursor down++down++
Move cursor by word left++control+left++
Move cursor by word right++control+right++
Move to line start++home++ or ++control+left++
Move to line end++end++ or ++control+right++
Move to document start++control+home++
Move to document end++control+end++
Move page up++page-up++
Move page down++page-down++

Selection

=== "Windows"

ActionShortcut
Selection with any movement key++shift++ + [Movement Key]
Select all++control+a++
Select line++control+l++
Select next occurrence++control+d++
Select all occurrences++shift+control+l++
Go to matching bracket++shift+control+backslash++

=== "macOS"

ActionShortcut
Selection with any movement key++shift++ + [Movement Key]
Select all++command+a++
Select line++command+l++
Select next occurrence++command+d++
Go to matching bracket++shift+command+backslash++

=== "Linux"

ActionShortcut
Selection with any movement key++shift++ + [Movement Key]
Select all++control+a++
Select line++control+l++
Select next occurrence++control+d++
Select all occurrences++shift+control+l++
Go to matching bracket++shift+control+backslash++

Basic Operations

=== "Windows"

ActionShortcut
New line with indentation++enter++
Undo++control+z++
Redo++control+y++ or ++control+shift+z++
Undo selection++control+u++
Copy++control+c++
Cut++control+x++
Paste++control+v++

=== "macOS"

ActionShortcut
New line with indentation++enter++
Undo++command+z++
Redo++command+y++ or ++command+shift+z++
Undo selection++command+u++
Copy++command+c++
Cut++command+x++
Paste++command+v++

=== "Linux"

ActionShortcut
New line with indentation++enter++
Undo++control+z++
Redo++control+y++ or ++control+shift+z++
Undo selection++control+u++
Copy++control+c++
Cut++control+x++
Paste++control+v++

Delete Operations

=== "Windows"

ActionShortcut
Delete character left++backspace++
Delete character right++delete++
Delete word left++control+backspace++
Delete word right++control+delete++
Delete line++shift+control+k++

=== "macOS"

ActionShortcut
Delete character left++backspace++
Delete character right++delete++
Delete word left++option+backspace++ or ++control+command+h++
Delete word right++option+delete++ or ++function+option+backspace++
Delete line++shift+command+k++
Delete to line start++command+backspace++
Delete to line end++command+delete++ or ++control+k++

=== "Linux"

ActionShortcut
Delete character left++backspace++
Delete character right++delete++
Delete word left++control+backspace++
Delete word right++control+delete++
Delete line++shift+control+k++

Line Operations

=== "Windows"

ActionShortcut
Move line up++alt+up++
Move line down++alt+down++
Copy line up++shift+alt+up++
Copy line down++shift+alt+down++
Toggle line comment++control+slash++
Add line comment++control+k++ then ++control+c++
Remove line comment++control+k++ then ++control+u++
Toggle block comment++shift+alt+a++

=== "macOS"

ActionShortcut
Move line up++option+up++
Move line down++option+down++
Copy line up++shift+option+up++
Copy line down++shift+option+down++
Toggle line comment++command+slash++
Add line comment++command+k++ then ++command+c++
Remove line comment++command+k++ then ++command+u++
Toggle block comment++shift+option+a++
Split line++control+o++
Transpose characters++control+t++

=== "Linux"

ActionShortcut
Move line up++alt+up++
Move line down++alt+down++
Copy line up++shift+alt+up++
Copy line down++shift+alt+down++
Toggle line comment++control+slash++
Add line comment++control+k++ then ++control+c++
Remove line comment++control+k++ then ++control+c++
Toggle block comment++shift+alt+a++

Autocomplete

=== "Windows"

ActionShortcut
Start completion++control+space++
Accept completion++enter++ or ++tab++
Close completion++escape++
Navigate completion options++up++ or ++down++

=== "macOS"

ActionShortcut
Start completion++control+space++
Accept completion++enter++ or ++tab++
Close completion++escape++
Navigate completion options++up++ or ++down++

=== "Linux"

ActionShortcut
Start completion++control+space++
Accept completion++enter++ or ++tab++
Close completion++escape++
Navigate completion options++up++ or ++down++

Indentation

=== "Windows"

ActionShortcut
Indent more++tab++ or ++control+bracket-right++
Indent less++shift+tab++ or ++control+bracket-left++

=== "macOS"

ActionShortcut
Indent more++command+bracket-right++
Indent less++command+bracket-left++

=== "Linux"

ActionShortcut
Indent more++tab++ or ++control+bracket-right++
Indent less++shift+tab++ or ++control+bracket-left++

Code Folding

=== "Windows"

ActionShortcut
Fold code++control+shift+bracket-left++
Unfold code++control+shift+bracket-right++
Fold all++control+k++ then ++control+0++
Unfold all++control+k++ then ++control+j++

=== "macOS"

ActionShortcut
Fold code++command+option+bracket-left++
Unfold code++command+option+bracket-right++
Fold all++command+k++ then ++command+0++
Unfold all++command+k++ then ++command+j++

=== "Linux"

ActionShortcut
Fold code++control+shift+bracket-left++
Unfold code++control+shift+bracket-right++
Fold all++control+k++ then ++control+0++
Unfold all++control+k++ then ++control+j++

Multi-cursor

=== "Windows"

ActionShortcut
Add cursor at click position++alt+left-button++
Add cursor above++control+alt+up++
Add cursor below++control+alt+down++
Add cursors to line ends++shift+alt+i++
Clear multiple cursors++escape++

=== "macOS"

ActionShortcut
Add cursor at click position++option+left-button++
Add cursor above++control+option+up++
Add cursor below++control+option+down++
Add cursors to line ends++shift+option+i++
Clear multiple cursors++escape++

=== "Linux"

ActionShortcut
Add cursor at click position++alt+left-button++
Add cursor above++shift+alt+up++
Add cursor below++shift+alt+down++
Add cursors to line ends++shift+alt+i++
Clear multiple cursors++escape++

Formatting

=== "Windows"

ActionShortcut
Format document++shift+alt+f++

=== "macOS"

ActionShortcut
Format document++shift+command+f++

=== "Linux"

ActionShortcut
Format document++control+shift+i++

Search & Navigation

=== "Windows"

ActionShortcut
Open Search++control+f++
Select All++alt+enter++
Replace All++control+alt+enter++
Go To Line++control+g++
Next Diagnostic++f8++
Previous Diag.++shift+f8++
Open Lint Panel++control+shift+m++

=== "macOS"

ActionShortcut
Open Search++command+f++
Select All++command+enter++
Replace All++command+option+enter++
Go To Line++command+g++
Next Diagnostic++f8++
Previous Diag.++shift+f8++
Open Lint Panel++command+shift+m++

=== "Linux"

ActionShortcut
Open Search++control+f++
Select All++alt+enter++
Replace All++control+alt+enter++
Go To Line++control+g++
Next Diagnostic++f8++
Previous Diag.++shift+f8++
Open Lint Panel++control+shift+m++