VSCode Cheat Sheet
Aus Matts Wiki
Application Wide Shortcuts
| Shortcut | Action |
|---|---|
| Ctrl + Shift + P | Commant Palette |
| Ctrl + , | Open settings |
| Ctrl + | Zoom in |
| Ctrl - | Zoom out |
Editor
Window Control
| Shortcut | Action |
|---|---|
| Ctrl + 1 | Go to first editor panel |
| Ctrl + 2 / 3 | Go to second / third editor panel, create one if not present |
| Ctrl + ^ | Split editor panel |
| Ctrl + W | Close file |
| Ctrl + Shift + T | Reopen last closed file |
| Ctrl + Tab | Next tab |
| Ctrl + B | Toggle sidebar visibility |
| Shortcut | Action |
|---|---|
| Alt + ↑/↓ | Move line up/down |
| Shift + Alt + ↑/↓ | Duplicate line up/down |
| Ctrl + Shift + K | Delete line |
| Ctrl + Z | Undo |
Multi Cursor Editing
| Shortcut | Action |
|---|---|
| Alt + Click | Add cursor |
| Ctrl + D | Multi-select word |
| Ctrl + Shift + Alt + ↑/↓ | Add second cursor in the line above or below |
Coding
| Shortcut | Action |
|---|---|
| Ctrl + # | Comment / Uncomment line |
| Shift + Alt + F | Format document |
| Ctrl + Space | Show suggestions |
File Management
| Shortcut | Action |
|---|---|
| Ctrl + # | Comment / Uncomment line |
| Shift + Alt + F | Format document |
| Ctrl + Space | Show suggestions |
Terminal
| Shortcut | Action |
|---|---|
| Ctrl + ö / Ctrl + ` | Toggle terminal panel / Switch to terminal panel, if in editor |
| Ctrl + Shift + ö | Create second terminal tab |
| Ctrl + L | Clear Terminal |
| Ctrl + Shift + 5 | Split Terminal |
