Cheatography
https://cheatography.com
A small printable cheat sheet for some of the more useful productivity shortcuts for programming.
This is a reduced (smaller) version of the official Visual Studio Code cheatsheet.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
General
Ctrl+Shift+P, F1 |
Show Command Palette |
Ctrl+Shift+M |
Show Problems panel |
F8 | Shift+F8 |
Go to next/last error or warning |
Basic Editing / Editor Management
Ctrl+X |
Cut line (empty selection) |
Ctrl+C |
Copy line (empty selection) |
Alt+ ↑ / ↓ |
Move line up/down |
Shift+Alt + ↓ / ↑ |
Copy line up/down |
Ctrl+Shift+K |
Delete line |
Ctrl+Enter |
Insert line below |
Ctrl + Shift + Enter |
Insert line above |
Ctrl+Shift+\ |
Jump to matching bracket |
Home / End |
Go to beginning/end of line |
Ctrl+K Ctrl+C |
Add line comment |
Ctrl+K Ctrl+U |
Remove line comment |
Ctrl+/ |
Toggle line comment |
Shift+Alt+A |
Toggle block comment |
Ctrl+\ |
Split editor |
Alt+Z |
Toggle Word Wrapping On/Off |
Ctrl+\ [or] Alt + Click File |
Split Editor Vertically |
|
|
File Management / Search and Replace
Ctrl+N |
New File |
Ctrl+O |
Open File... |
Ctrl+K P |
Copy path of active file |
Ctrl+K R |
Reveal active file in Explorer |
F3 / Shift+F3 |
Find next/previous |
Alt+Enter |
Select all occurences of Find match |
Multi-cursor and Selection
Alt+Click |
Insert cursor |
Ctrl+Alt+ ↑ / ↓ |
Insert cursor above / below |
Ctrl+U |
Undo last cursor operation |
Shift+Alt+I |
Insert cursor at end of each line selected |
Ctrl+L |
Select current line |
Ctrl + Shift + L |
Select all instances of selection |
Ctrl+F2 |
Select all instances of word |
Shift+Alt+→ |
Expand selection |
Shift+Alt+← |
Shrink selection |
Mouse Controls
Gesture Btn + Move ↑ / ↓ |
Line Up / Line Down |
Gesture Btn + Move ↑ / ↓ + Shift |
Copy Line Up / Down |
Gesture Btn + Move ← |
Del Line / Select Line |
Side Forward Btn / Shift + SFB |
Block Comment / Line Comment |
Side Mid Btn |
Split HTML Attributes |
|
|
Debug / Integrated Terminal
F9 |
Toggle breakpoint |
F5 / Shift+F5 |
Start/Continue | Stop |
F11 / Shift+F11 |
Step into/out |
F10 |
Step over |
Ctrl+` |
Show integrated terminal |
Other Extensions
Ctrl+Alt+1 |
Bookmarks: Toggle Labeled |
Ctrl+Alt+2 |
Bookmarks: Toggle Mark |
Ctrl+D (w/line selected) |
Autodoc: Add Docs [JS/other] |
Ctrl+Shift+2 |
Docstrings: Add Docs [Python] |
Ctrl+Shift+Alt+A |
HTML Split Attributes |
Other Tips |
----- |
|
Better Comments: ToDo |
|
Better Comments: Important |
|
Better Comments: Question |
|
Better Comments: Strike |
Right-Click -> Create Snippet -> Give Name
|
Create Code Snippet |
|