The mouse is slow. Here are 30 keyboard shortcuts for VS Code that will make you a 2x faster developer.
Navigation¶
- Ctrl+P — quick file open
- Ctrl+Shift+P — Command Palette
- Ctrl+G — go to line
- Ctrl+Shift+O — go to symbol
- Alt+←/→ — back/forward in history
Editing¶
- Alt+↑/↓ — move line
- Shift+Alt+↑/↓ — duplicate line
- Ctrl+Shift+K — delete line
- Ctrl+D — select next occurrence (multi-cursor)
- Ctrl+Shift+L — select ALL occurrences
- Ctrl+/ — toggle comment
Refactoring¶
- F2 — rename symbol
- Ctrl+. — Quick Fix
- Shift+Alt+F — format document
Terminal & Debug¶
- Ctrl+` — toggle terminal
- F5 — start debugging
- F9 — toggle breakpoint
Workspace¶
- Ctrl+B — toggle sidebar
- *Ctrl+* — split editor
- Ctrl+K Z — Zen Mode
Tip¶
Pick 3 new shortcuts this week. Another 3 next week. In a month you’ll be flying.
vs codeideproduktivita