Visual Studio Code Shortcuts
Published at Jun 3, 2023
General
Action | Shortcut |
---|---|
Editor: | |
Quick Open | CTRL + P |
Open Command Palette | CTRL + SHIFT + P |
Close Current TAB | CTRL + W |
Toggle Sidebar | CTRL + B |
View Current File In Full Screen | CTRL + K + Z |
Open Terminal | CTRL + Ö |
Navigate Tabs | CTRL + [TAB-INDEX] OR CTRL + SHIFT + TAB |
Open Settings | CTRL + , |
Code Suggestion: | |
Trigger IntelliSense | CTRL + SPACE |
Show Quick Fix | CTRL + . |
Toggle Suggestions | CTRL + I |
Move Cursor: | |
Move Lines Up/Down | ALT + UP/DOWN Arrow |
Navigate Word by Word | CTRL + LEFT/RIGHT Arrow |
Multiline Cursor | ALT + MouseLeft |
Goto Line | Ctrl + G |
Jump To Line End | SHIFT + ALT + I |
Comments: | |
Comment Line(s) | CTRL + K + C OR CTRL + K + U OR ALT SHIFT A |
Selection: | |
Expand Selection Block | SHIFT + ALT + LEFT/RIGHT Arrow |
Expand Selection | CTRL + D |
Select Line | CTRL + L |
Select Multiline Block | SHIFT + ALT + MouseDrag |
Select All Occurrences | CTRL + F2 |
Find/Replace/Occurrences: | |
Find and Replace | CTRL + H OR CTRL + F |
Find In Files | CTRL + SHIFT + F |
Jump To Function/Import | CTRL + MouseLeft OR F12 |
Rename Code | F2 |
Jump To Next Error/Warning | F8 |
Copy: | |
Copy Line | SHIFT + ALT + UP/DOWN Arrow |
Debugging: | |
Start/Continue Debugging | F5 |
Toggle Breakpoint | F9 |
Step Over | F10 |
Step Into Function | F11 |