Visual Studio Code Shortcut Keys.
| Shortcut | Action | Description |
|---|---|---|
Alt+Click
|
Multiple Cursors | Insert multiple cursors. |
Alt+Down Arrow
|
Move Line Down | Move line down. |
Alt+F1
|
Accessibility Help | Show accessibility help. |
Alt+Up Arrow
|
Move Line Up | Move line up. |
Ctrl+/
|
Toggle Comment | Toggle line comment. |
Ctrl+1
|
Focus Editor | Focus first editor group. |
Ctrl+2
|
Split Editor | Split editor into two. |
Ctrl+A
|
Select All | Select all text. |
Ctrl+Alt+Down
|
Go to Next Occurrence | Go to next occurrence. |
Ctrl+Alt+F
|
Format Selection | Format selection. |
Ctrl+Alt+Up
|
Go to Previous Occurrence | Go to previous occurrence. |
Ctrl+B
|
Toggle Sidebar | Toggle sidebar visibility. |
Ctrl+C
|
Copy | Copy selected text. |
Ctrl+D
|
Add to Selection | Add next occurrence to selection. |
Ctrl+End
|
File End | Move cursor to file end. |
Ctrl+F
|
Find | Find text in file. |
Ctrl+F12
|
Go to Implementation | Go to implementation. |
Ctrl+G
|
Go to Line | Go to a specific line number. |
Ctrl+H
|
Replace | Find and replace text. |
Ctrl+Home
|
File Start | Move cursor to file start. |
Ctrl+J
|
Toggle Panel | Toggle panel visibility. |
Ctrl+K Ctrl+0
|
Fold All Functions | Fold all functions. |
Ctrl+K Ctrl+C
|
Add Comment | Add line comment. |
Ctrl+K Ctrl+F
|
Format Selection | Format selected code. |
Ctrl+K Ctrl+J
|
Unfold All | Unfold all code. |
Ctrl+K Ctrl+Left
|
Previous Editor | Go to previous editor group. |
Ctrl+K Ctrl+Right
|
Next Editor | Go to next editor group. |
Ctrl+K Ctrl+S
|
Keyboard Shortcuts | Open keyboard shortcuts. |
Ctrl+K Ctrl+T
|
Select Kernels | Select Python kernel. |
Ctrl+K Ctrl+U
|
Remove Comment | Remove line comment. |
Ctrl+K Ctrl+W
|
Close All Editors | Close all open editors. |
Ctrl+K Ctrl+[
|
Fold All | Fold all regions. |
Ctrl+K Ctrl+]
|
Unfold All | Unfold all regions. |
Ctrl+K S
|
Save All | Save all open files. |
Ctrl+K V
|
Side by Side Markdown | Open Markdown side by side. |
Ctrl+Left Arrow
|
Word Start | Move cursor to word start. |
Ctrl+Minus
|
Zoom Out | Zoom out. |
Ctrl+N
|
New File | Create a new file. |
Ctrl+Number 0
|
Reset Zoom | Reset zoom to default. |
Ctrl+O
|
Open File | Open an existing file. |
Ctrl+P
|
Quick Open | Quick open file. |
Ctrl+Plus
|
Zoom In | Zoom in. |
Ctrl+Right Arrow
|
Word End | Move cursor to word end. |
Ctrl+S
|
Save | Save the current file. |
Ctrl+Shift+Alt+Down
|
Copy Line Down | Copy line down. |
Ctrl+Shift+Alt+Up
|
Copy Line Up | Copy line up. |
Ctrl+Shift+D
|
Debug | Open debug view. |
Ctrl+Shift+E
|
Explorer Focus | Focus on file explorer. |
Ctrl+Shift+F
|
Global Search | Global search in workspace. |
Ctrl+Shift+G
|
Source Control | Open source control view. |
Ctrl+Shift+H
|
Replace in Files | Replace text in multiple files. |
Ctrl+Shift+K
|
Delete Line | Delete entire line. |
Ctrl+Shift+L
|
Select All Occurrences | Select all occurrences of word. |
Ctrl+Shift+M
|
Problems Panel | Show problems panel. |
Ctrl+Shift+N
|
New Window | Open new VS Code window. |
Ctrl+Shift+P
|
Command Palette | Open command palette. |
Ctrl+Shift+S
|
Save As | Save the file with a new name. |
Ctrl+Shift+Space
|
Parameter Hints | Trigger parameter hints. |
Ctrl+Shift+U
|
Output Panel | Show output panel. |
Ctrl+Shift+V
|
Markdown Preview | Open Markdown preview. |
Ctrl+Shift+W
|
Close Window | Close the current window. |
Ctrl+Shift+X
|
Extensions | Open extensions view. |
Ctrl+Shift+[
|
Fold Region | Fold code region. |
Ctrl+Shift+\
|
Toggle Sidebar | Toggle sidebar visibility. |
Ctrl+Shift+]
|
Unfold Region | Unfold code region. |
Ctrl+Shift+`
|
Create Terminal | Create new terminal. |
Ctrl+Space
|
Trigger IntelliSense | Trigger IntelliSense. |
Ctrl+Tab
|
Switch Editor | Switch between open editors. |
Ctrl+V
|
Paste | Paste copied text. |
Ctrl+W
|
Close Editor | Close the current editor. |
Ctrl+X
|
Cut | Cut selected text. |
Ctrl+Y
|
Redo | Redo the last action. |
Ctrl+Z
|
Undo | Undo the last action. |
Ctrl+`
|
Toggle Terminal | Toggle integrated terminal. |
End
|
Line End | Move cursor to line end. |
F1
|
Show All Commands | Show all commands. |
F10
|
Step Over | Step over. |
F11
|
Toggle Full Screen | Toggle full screen mode. |
F12
|
Go to Definition | Go to definition of symbol. |
F5
|
Start Debugging | Start or continue debugging. |
F9
|
Toggle Breakpoint | Toggle breakpoint. |
Home
|
Line Start | Move cursor to line start. |
Shift+Alt+A
|
Block Comment | Toggle block comment. |
Shift+Alt+F
|
Format Document | Format entire document. |
Shift+F11
|
Step Out | Step out. |
Shift+F12
|
Find All References | Find all references. |
Shift+F5
|
Stop Debugging | Stop debugging. |