Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keyboard shortcuts

This page is generated from the code editor’s chord table. The shortcuts of the IDE commands are listed with each command in Menus and commands. The keymap scheme, Modern (the default) or Classic, is chosen in Tools > Options.

Code editor

ActionModernClassic
Comment or uncomment the linesCtrl+/, Ctrl+;Ctrl+/, Ctrl+;, Ctrl+Shift+C
Select the next occurrenceCtrl+DCtrl+Shift+D
FindCtrl+FCtrl+F
Find and replaceCtrl+HCtrl+R
Go to lineCtrl+GAlt+G
Quick Open (file.quick_open)Ctrl+PCtrl+O
Command Palette (view.command_palette)Ctrl+Shift+PCtrl+Shift+P
Find nextF3F3
Find previousShift+F3Shift+F3
Move the lines upAlt+UpCtrl+Alt+Up
Move the lines downAlt+DownCtrl+Alt+Down
Copy the lines upShift+Alt+UpShift+Alt+Up
Copy the lines downShift+Alt+DownShift+Alt+Down
Delete the lineCtrl+Shift+KCtrl+Y
Notes (tools.sidecar_note)Ctrl+Shift+NCtrl+Shift+N
Add documentation (editor.add_documentation)Ctrl+Alt+DCtrl+Alt+D
Add note (editor.add_note)Ctrl+Alt+NCtrl+Alt+N
Add comment (editor.add_comment)Ctrl+Alt+MCtrl+Alt+M
Fold the blockCtrl+Shift+[Ctrl+Shift+[
Unfold the blockCtrl+Shift+]Ctrl+Shift+]
Rename the symbolF2—
Show completionsCtrl+SpaceCtrl+Space
Code Templates (editor.templates)Ctrl+JCtrl+J

Moving the cursor

ActionKeys
One word left / rightCtrl+Left, Ctrl+Right
Start / end of the fileCtrl+Home, Ctrl+End
The same, extending the selectionadd Shift

Bookmarks

ActionKeys
Set bookmark 1 to 9Ctrl+Shift+1 … Ctrl+Shift+9
Go to bookmark 1 to 9Ctrl+1 … Ctrl+9