Vscode-Macos-Shortcuts
VSCode shortcuts
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
shortcut | 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 |