List of helpful shortcuts for faster coding
- For mac, replace "Ctrl" with "cmd" and "Alt" with "option"
Open Command Pallete
Ctrl+Shift+P
Open New Window
Ctrl+Shift+N
Close Window
Ctrl+W
Quick File Open
Ctrl+P
Access Settings
Ctrl+,
New File
Ctrl+N
Open File
Ctrl+O
Save
Ctrl+S
Ctrl+Shift+S # Save As
Close File
Ctrl+F4
Change File Tabs
Ctrl+PageUP
Ctrl+PageDown
Open Next File (Dropdown)
Ctrl+Tab # Scroll next
Ctrl+Shift+Tab # Scroll prev
Zoom
Ctrl++ # Zoom in
Ctrl+- # Zoom out
Toggle Sidebar
Ctrl+B
Toggle Sidebar Focus
Ctrl+Shift+E
Spilt Editor
Ctrl+\
Integrated Terminal
Ctrl+` # Toggle terminal
Ctrl+Shift+` # Create new terminal
Go To Start & End Of Line
home
end
Go To Start & End Of File
Ctrl+Home
Ctrl+End
Cut, Copy & Past Line
Ctrl+X # Cut
Ctrl+C # Copy
Ctrl+V # Paste
Move Line Up & Down
Alt+Up
Alt+Down
Copy Line Up & Down
Shift+Alt+Up
Shift+Alt+Down
Remove Line
Ctrl+Shift+K
Insert Line
Ctrl+Enter # Insert above
Ctrl+Shift+Enter # Insert below
Jump To Matching Bracket
Ctrl+Shift+\
Fold
Ctrl+Shift+[
Ctrl+Shift+]
Fold All
Ctrl+K, Ctrl+0 (zero)
Ctrl+K, Ctrl+J
Add Line Comment
Ctrl+/
Add Block Comment
Shift+Alt+A
Scroll Up & Down
Ctrl+Up
Ctrl+Down
Move By Word
Ctrl+Right
Ctrl+Left
Highlight Code
Shift+Any Direction
Go To Next Match
F3
Select Next Match
Ctrl+D
Select All Matches & Add Cursor
Ctrl+F2
Select All Matches from Find
Alt+Enter
Add Cursor
Alt+Click
Go to Symbol
Ctrl+Shift+O
I use linux exclusively, these should all work
Side note for everyone commenting on this, I apologise but I'm not using vscode much at all these days so this is unlikely to be maintained.
If you know of a more current document, please feel free to link it for the benefit of everyone