title | description | created |
---|---|---|
VSCode CheatSheet |
The most commonly used vscode keyboard shortcuts are given here. |
2022-10-20 |
Command | Description |
---|---|
Ctrl + Shift + P |
Show Command Palette |
Ctrl + Shift + X |
Show Extensions |
Command | Description |
---|---|
Ctrl + A |
Select All |
Ctrl + C |
Copy line |
Ctrl + D |
Duplicate line |
Ctrl + L |
Select current line |
Ctrl + X |
Cut line |
Ctrl + U |
Undo last cursor operation |
Ctrl + V |
Paste |
Ctrl + Y |
Redo Changes |
Ctrl + Z |
Undo Changes |
Alt + Down |
Move Line Down |
Alt + Up |
Move Line Up |
Command | Description |
---|---|
F2 |
Rename Symbol |
Shift + F12 |
Go to References |
F12 |
Go to Definition |
Ctrl + Space |
Trigger Suggest |
Ctrl + . |
Quick Fix |
Command | Description |
---|---|
Alt + Click |
Insert cursor |
Shift + Alt + UpArrow |
Copy line up |
Shift + Alt + DownArrow |
Copy line down |
Shift + Alt + Click |
Select text in blocks |
Ctrl + Alt + UpArrow |
Add cursor above |
Ctrl + Alt + DownArrow |
Add cursor below |
Ctrl + Shift + K |
Delete line |
Ctrl + Shift + L |
Select all occurrences of current selection |
Command | Description |
---|---|
Ctrl + Shift + F |
Show Search |
Command | Description |
---|---|
Ctrl + F |
Find |
Ctrl + H |
Replace |
Ctrl + Shift + F |
Find in Files |
Ctrl + Shift + H |
Replace in Files |
Ctrl + Shift + Enter |
Replace All |
Command | Description |
---|---|
Ctrl + P |
Go to File |
Ctrl + J |
Toggle panel (Opens/closes terminal) |
Ctrl + B |
Toggle primary sidebar |
Ctrl + Shift + E |
Go to explorer |
Ctrl + Shift + X |
Go to extensions |
Ctrl + Shift + D |
Go to Run and Debug |
Ctrl + Shift + G |
Go to Source Control |
Ctrl + Shift + H |
Go to Search |
Ctrl + Shift + J |
Go to Problems |
Ctrl + ↑/↓ |
Scroll up/down |
Ctrl+ Home/End |
Scroll top/bottom |
Command | Description |
---|---|
Ctrl + W |
Close Editor |
Ctrl + \ |
Split Editor |
Ctrl + Shift + PgUp |
Move Editor Left |
Ctrl + Shift + PgDn |
Move Editor Right |
Command | Description |
---|---|
Ctrl + N |
New Text File |
Ctrl + O |
Open |
Ctrl + S |
Save |
Ctrl + Shift + S |
Save As |
Ctrl + W |
Close |
Ctrl + Shift + T |
Open Recently Closed Editor |
Command | Description |
---|---|
F9 |
Toggle Breakpoint |
F5 |
Start |
Ctrl + F5 |
Start (without debugging) |
F11 |
Step Into |
Command | Description |
---|---|
Ctrl + ` |
Show integrated terminal |
Ctrl + Shift + ` |
Create new integrated terminal |