VS Code Cheatsheet
Navigating UI
Command | Description |
---|---|
Ctrl + 0 |
focus sidebar |
Ctrl + 1 |
focus editor 1 |
Ctrl + 2 |
focus editor 2 |
Ctrl + Shift + e |
move to explorer in sidebar |
Ctrl + b |
collapse sidebar |
Editing
Command | Description |
---|---|
Ctrl + Space |
trigger IntelliSense |
Ctrl + Shift + m |
jump to error or warning |
Ctrl + Tab |
navigate history |
Alt + Up/Down |
move line up/down |
Shift + Alt + Down/Up |
copy line down/up |
Shift + Alt + Left/Right |
expand/shrink selection |
Ctrl + Shift + o |
search and jump to symbol |
F12 |
goto definition |
Alt + F12 |
peek at definition |
F2 |
rename symbol |
Files
Command | Description |
---|---|
Ctrl + p |
quick open file |