- Comment code:
Ctrl (K+C)//⌘ (K+C) - UnComment code:
Ctrl (K+U)//⌘ (K+U)
- Duplicate line:
Alt & Shift + Arrow Down//Option & Shift + Arrow Down - Multicursor:
hold Alt + click//hold Option + click
- Find in file:
Ctrl + F//⌘ + F - Replace in file:
Ctrl + H//⌥ + ⌘ + F - Find in project (global search):
Ctrl + Shift + F//⌘ + Shift + F- Note: just as you search, you can also replace.
- Open file:
Ctrl + P//⌘ + P - Command palette:
Ctrl + Shift + P//⌘ + shift + P
- (best option) See/search shortcuts directly in your VS Code:
go to "File - Preferences - Keyboard shortcuts"🤩 - Windows cheatsheet
- Mac cheatsheet
Bonus: