VSCode Cheat Sheet and Knowledgebase: Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Zeile 4: Zeile 4:
!Action
!Action
|-
|-
|CTRL + SHIFT + P
|Ctrl + Shift + P
|Commant Palette
|Commant Palette
|-
|-
|CTRL + ,
|Ctrl + ,
|Open settings
|Open settings
|-
|-
|CTRL +   
|Ctrl +   
|Zoom in
|Zoom in
|-
|-
|CTRL -
|Ctrl  -
|Zoom out
|Zoom out
|}
|}
Zeile 24: Zeile 24:
!Action
!Action
|-
|-
|CTRL + 1
|Ctrl + 1
|Go to first editor panel
|Go to first editor panel
|-
|-
|CTRL + 2 / 3
|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 + ^
|Ctrl + ^
|Split editor panel
|Split editor panel
|-
|-
|CTRL + W
|Ctrl + W
|Close file
|Close file
|-
|-
|CTRL + SHIFT + T
|Ctrl + Shift + T
|Reopen last closed file
|Reopen last closed file
|-
|-
|CTRL + TAB
|Ctrl + Tab
|Next tab
|Next tab
|-
|-
|CTRL + B
|Ctrl + B
|Toggle sidebar visibility
|Toggle sidebar visibility
|}
|}
Zeile 51: Zeile 51:
!Action
!Action
|-
|-
|ALT + ↑/↓
|Alt + ↑/↓
|Move line up/down
|Move line up/down
|-
|-
|SHIFT + ALT + ↑/↓
|Shift + Alt + ↑/↓
|Duplicate line up/down
|Duplicate line up/down
|-
|-
|CTRL + SHIFT + K
|Ctrl + Shift + K
|Delete line
|Delete line
|-
|-
|CTRL + Z
|Ctrl + Z
|Undo
|Undo
|}
|}
Zeile 69: Zeile 69:
!Action
!Action
|-
|-
|ALT + Click
|Alt + Click
|Add cursor
|Add cursor
|-
|-
|CTRL + D
|Ctrl + D
|Multi-select word
|Multi-select word
|-
|-
|CTRL + SHIFT + ALT + ↑/↓  
|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 + #
|Ctrl + #
|Comment / Uncomment line
|Comment / Uncomment line
|-
|-
|SHIFT + ALT + F
|Shift + Alt + F
|Format document
|Format document
|-
|-
|CTRL + SPACE
|Ctrl + Space
|Show suggestions
|Show suggestions
|}
|}
Zeile 99: Zeile 99:
!Action
!Action
|-
|-
|CTRL + #
|Ctrl + #
|Comment / Uncomment line
|Comment / Uncomment line
|-
|-
|SHIFT + ALT + F
|Shift + Alt + F
|Format document
|Format document
|-
|-
|CTRL + SPACE
|Ctrl + Space
|Show suggestions
|Show suggestions
|}
|}
Zeile 115: Zeile 115:
!Action
!Action
|-
|-
|CTRL + ö / CTRL + `
|Ctrl + ö / Ctrl + `
|Toggle terminal panel / Switch to terminal panel, if in editor
|Toggle terminal panel / Switch to terminal panel, if in editor
|-
|-
|CTRL + SHIFT + ö
|Ctrl + Shift + ö
|Create second terminal tab
|Create second terminal tab
|-
|-
|CTRL + L
|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

Navigation

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