Visual Studio Code (VS Code) is a popular, lightweight code editor that supports a wide range of programming languages and extensions. It offers powerful features for coding, debugging, and version control. Here are some shortcuts to help you navigate VS Code more efficiently and boost your productivity.
General
Open Command Palette
Ctrl + Shift + P
Toggle Sidebar Visibility
Ctrl + B
Open Keyboard Shortcuts
Ctrl + K, Ctrl + S
Toggle Fullscreen Mode
F11
Toggle Zen Mode
Ctrl + K, Z
Open Extensions View
Ctrl + Shift + X
Show Output Panel
Ctrl + Shift + U
Open New Terminal
Ctrl + Shift + `
Close Active Editor
Ctrl + W
Close All Editors
Ctrl + K, W
Reopen Closed Editor
Ctrl + Shift + T
Editing
Duplicate Line
Shift + Alt + Down
Delete Line
Ctrl + Shift + K
Comment/Uncomment Line
Ctrl + /
Insert Line Below
Ctrl + Enter
Insert Line Above
Ctrl + Shift + Enter
Select All Occurrences of Selection
Ctrl + Shift + L
Expand Selection
Ctrl + Shift + Arrow Keys
Shrink Selection
Ctrl + Shift + M
Navigation
Go to Matching Bracket
Ctrl + Shift + \
Open File Symbol
Ctrl + Shift + O
Open Workspace Symbol
Ctrl + T
Navigate Forward
Alt + Right
Navigate Backward
Alt + Left
Debugging
Restart Debugging
Ctrl + Shift + F5
View Variables
Ctrl + Shift + D