1 |
Go to File… |
Quickly open a file by typing its name |
Ctrl + P |
2 |
Go to Symbol in Editor… |
Navigate to symbols (functions, variables) in the current file |
Ctrl + Shift + O |
3 |
Go to Symbol in Workspace… |
Navigate to symbols across the entire workspace |
Ctrl + T |
4 |
Go to Line… |
Jump to a specific line in the current file |
Ctrl + G |
5 |
Find in Files |
Search for text across all files in the workspace |
Ctrl + Shift + F |
6 |
Replace in Files |
Replace text across all files in the workspace |
Ctrl + Shift + H |
7 |
Toggle Line Comment |
Comment or uncomment the selected lines |
Ctrl + / |
8 |
Toggle Block Comment |
Comment or uncomment a block of code |
Shift + Alt + A |
9 |
Format Document |
Format the entire document according to language rules |
Shift + Alt + F |
10 |
Format Selection |
Format the selected code |
Ctrl + K Ctrl + F |
11 |
Trim Trailing Whitespace |
Remove trailing spaces from lines |
(No default) |
12 |
Change Language Mode |
Set the language mode for the current file |
(No default) |
13 |
Open Settings (UI) |
Open the settings editor |
Ctrl + , |
14 |
Open Keyboard Shortcuts |
Customize keyboard shortcuts |
Ctrl + K Ctrl + S |
15 |
Split Editor |
Split the editor view |
Ctrl + \ |
16 |
Close Editor |
Close the current editor tab |
Ctrl + W |
17 |
Toggle Terminal |
Show or hide the integrated terminal |
Ctrl + ` |
18 |
Terminal: Create New Terminal |
Create a new terminal instance |
(No default) |
19 |
Git: Clone |
Clone a Git repository |
(No default) |
20 |
Git: Init |
Initialize a new Git repository |
(No default) |
21 |
Git: Commit |
Commit staged changes |
(No default) |
22 |
Git: Stage All Changes |
Stage all modified files for commit |
(No default) |
23 |
Git: Pull |
Pull changes from remote repository |
(No default) |
24 |
Git: Push |
Push local changes to remote repository |
(No default) |
25 |
Git: Sync |
Sync local and remote repositories (pull then push) |
(No default) |
26 |
Git: Checkout to… |
Switch to a different branch |
(No default) |
27 |
Extensions: Install Extensions |
Install new extensions from the marketplace |
(No default) |
28 |
Extensions: Show Installed Extensions |
View and manage installed extensions |
(No default) |
29 |
Debug: Start Debugging |
Start a debugging session |
F5 |
30 |
Debug: Stop Debugging |
Stop the current debugging session |
Shift + F5 |
31 |
Debug: Restart |
Restart the debugging session |
Ctrl + Shift + F5 |
32 |
Run Without Debugging |
Run code without attaching debugger |
Ctrl + F5 |
33 |
Tasks: Run Task |
Run a defined task from tasks.json |
(No default) |
34 |
Tasks: Run Build Task |
Run the default build task |
Ctrl + Shift + B |
35 |
Toggle Problems |
Show or hide the Problems panel |
Ctrl + Shift + M |
36 |
Toggle Output |
Show or hide the Output panel |
Ctrl + Shift + U |
37 |
Toggle Debug Console |
Show or hide the Debug Console |
Ctrl + Shift + Y |
38 |
Toggle Zen Mode |
Enter distraction-free Zen mode |
Ctrl + K Z |
39 |
Toggle Full Screen |
Toggle full screen mode |
F11 |
40 |
Toggle Sidebar Visibility |
Show or hide the sidebar |
Ctrl + B |
41 |
Toggle Word Wrap |
Enable or disable word wrapping |
Alt + Z |
42 |
Add Cursor Above |
Add a multi-cursor above the current one |
Ctrl + Alt + Up |
43 |
Add Cursor Below |
Add a multi-cursor below the current one |
Ctrl + Alt + Down |
44 |
Move Line Up |
Move the current line up |
Alt + Up |
45 |
Move Line Down |
Move the current line down |
Alt + Down |
46 |
Copy Line Up |
Duplicate the current line above |
Shift + Alt + Up |
47 |
Copy Line Down |
Duplicate the current line below |
Shift + Alt + Down |
48 |
Delete Line |
Delete the current line |
Ctrl + Shift + K |
49 |
Fold All |
Fold all regions in the editor |
Ctrl + K Ctrl + 0 |
50 |
Unfold All |
Unfold all regions in the editor |
Ctrl + K Ctrl + J |