VSCode Cheat Sheet and Knowledgebase: Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Matt (Diskussion | Beiträge) |
||
Zeile 4: | Zeile 4: | ||
!Action | !Action | ||
|- | |- | ||
| | |Ctrl + Shift + P | ||
|Commant Palette | |Commant Palette | ||
|- | |- | ||
| | |Ctrl + , | ||
|Open settings | |Open settings | ||
|- | |- | ||
| | |Ctrl + | ||
|Zoom in | |Zoom in | ||
|- | |- | ||
| | |Ctrl - | ||
|Zoom out | |Zoom out | ||
|} | |} | ||
Zeile 24: | Zeile 24: | ||
!Action | !Action | ||
|- | |- | ||
| | |Ctrl + 1 | ||
|Go to first editor panel | |Go to first editor panel | ||
|- | |- | ||
| | |Ctrl + 2 / 3 | ||
|Go to second / third editor panel, create one if not present | |Go to second / third editor panel, create one if not present | ||
|- | |- | ||
| | |Ctrl + ^ | ||
|Split editor panel | |Split editor panel | ||
|- | |- | ||
| | |Ctrl + W | ||
|Close file | |Close file | ||
|- | |- | ||
| | |Ctrl + Shift + T | ||
|Reopen last closed file | |Reopen last closed file | ||
|- | |- | ||
| | |Ctrl + Tab | ||
|Next tab | |Next tab | ||
|- | |- | ||
| | |Ctrl + B | ||
|Toggle sidebar visibility | |Toggle sidebar visibility | ||
|} | |} | ||
Zeile 51: | Zeile 51: | ||
!Action | !Action | ||
|- | |- | ||
| | |Alt + ↑/↓ | ||
|Move line up/down | |Move line up/down | ||
|- | |- | ||
| | |Shift + Alt + ↑/↓ | ||
|Duplicate line up/down | |Duplicate line up/down | ||
|- | |- | ||
| | |Ctrl + Shift + K | ||
|Delete line | |Delete line | ||
|- | |- | ||
| | |Ctrl + Z | ||
|Undo | |Undo | ||
|} | |} | ||
Zeile 69: | Zeile 69: | ||
!Action | !Action | ||
|- | |- | ||
| | |Alt + Click | ||
|Add cursor | |Add cursor | ||
|- | |- | ||
| | |Ctrl + D | ||
|Multi-select word | |Multi-select word | ||
|- | |- | ||
| | |Ctrl + Shift + Alt + ↑/↓ | ||
|Add second cursor in the line above or below | |Add second cursor in the line above or below | ||
|} | |} | ||
Zeile 84: | Zeile 84: | ||
!Action | !Action | ||
|- | |- | ||
| | |Ctrl + # | ||
|Comment / Uncomment line | |Comment / Uncomment line | ||
|- | |- | ||
| | |Shift + Alt + F | ||
|Format document | |Format document | ||
|- | |- | ||
| | |Ctrl + Space | ||
|Show suggestions | |Show suggestions | ||
|} | |} | ||
Zeile 99: | Zeile 99: | ||
!Action | !Action | ||
|- | |- | ||
| | |Ctrl + # | ||
|Comment / Uncomment line | |Comment / Uncomment line | ||
|- | |- | ||
| | |Shift + Alt + F | ||
|Format document | |Format document | ||
|- | |- | ||
| | |Ctrl + Space | ||
|Show suggestions | |Show suggestions | ||
|} | |} | ||
Zeile 115: | Zeile 115: | ||
!Action | !Action | ||
|- | |- | ||
| | |Ctrl + ö / Ctrl + ` | ||
|Toggle terminal panel / Switch to terminal panel, if in editor | |Toggle terminal panel / Switch to terminal panel, if in editor | ||
|- | |- | ||
| | |Ctrl + Shift + ö | ||
|Create second terminal tab | |Create second terminal tab | ||
|- | |- | ||
| | |Ctrl + L | ||
|Clear Terminal | |Clear Terminal | ||
|- | |||
|Ctrl + Shift + 5 | |||
|Split Terminal | |||
|} | |} | ||
[[Kategorie:Development]] | [[Kategorie:Development]] |
Version vom 29. Juni 2024, 14:00 Uhr
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 |