Files
Compose-Files/Backups/Miker/Cheat Sheets/VSCode shortcuts.md
T
2026-07-20 09:23:17 -04:00

110 lines
2.4 KiB
Markdown

---
tags:
- Cheetsheet
---
Side Menu
---------
| Shortcut | Description |
| --- | --- |
| ⌘ + B | Hide show side menu |
| ⌘ + ⇧ + E | Explorer window |
| ⌘ + ⇧ + F | Find window |
| ⌘ + ⇧ + J | Find in files window |
| ⌃ + ⇧ + G | Git window |
| ⌘ + ⇧ + D | Debug window |
| ⌘ + ⇧ + X | Extension window |
Multi-Cursor Editing
--------------------
| Shortcut | Description |
| --- | --- |
| ⌘ + ⌥ + ↓ | add a new cursor below |
| ⌥ + Click | add a new cursor at the mouse click |
| ⌘ + ⇧ + L | add new cursor behind all instances of a word |
Split editor
------------
| Shortcut | Description |
| --- | --- |
| ⌘ + \\ | split |
Split Window focusing
---------------------
| Shortcut | Description |
| --- | --- |
| ⌘ + 0 | explorer panel |
| ⌘ + 1 | 1st window split window |
| ⌘ + 2 | 2nd window split window |
| ⌃ + ~ | terminal window |
| ^ + tab | switch between tabs |
| ⌘ + ~ | switch between VS code editor windows |
IntelliSense
------------
| shortcut | description |
| --- | --- |
| ⌃ + Space | to invoke IntelliSense |
Line Action
-----------
| | description |
| --- | --- |
| ⇧ + ⌥ + ↓ | copy the line and insert below |
| ⇧ + ⌥ + ↑ | copy the line and insert above |
| ⌥ + ↓ | move entire line below |
| ⌥ + ↑ | move entire line above |
| ⌘ + ⇧ + K | delete entire line |
Rename Refactoring
------------------
| Shortcut | Description |
| --- | --- |
| F2 (Fn + F2) | Rename Symbol in the current project |
| Right Mouse Click -> Rename Symbol | Rename Symbol in the current project |
Formatting
----------
| Shortcut | Description |
| --- | --- |
| ⇧ + ⌥ + F | format entire document |
| ⌘ + K and ⌘ F | format selected text |
Transform selected
------------------
| Shortcut | Description |
| --- | --- |
| ^ + ⇧ + ⌥ + L | transform selected to lower |
| ^ + ⇧ + ⌥ + U | transform selected to upper |
| ^ + ⇧ + ⌥ + S | transform selected to snake |
| ^ + ⇧ + ⌥ + T | transform selected to titelcase |
Code Folding
------------
| Shortcut | Description |
| --- | --- |
| ⌘ + ⌥ + \[ | fold |
| ⌘ + ⌥ + \] | unfold |
| ⌘ K and ⌘ 0 | fold all |
| ⌘ K and ⌘ J | unfold all |
| ⌘ K and ⌘ 1 | fold 1 level |
| ⌘ K and ⌘ 2 | fold 2 levels |
| ⌘ K and ⌘ 5 | fold 5 levels |
Errors and Warnings
-------------------
| Shortcut | Description |
| --- | --- |
| F8 | navigate across errors |