πππ vscode-pro-tips
Use Visual Studio Code like a Pro
π
Moving around
Purpose |
Keystrokes |
Illustration |
Move line up/down |
β₯ β‘ β₯ β£ |
|
Move selected line(s) up/down |
β₯ β‘ β₯ β£ |
|
Move cursor forward/backward by a word |
β₯ β’ β₯ β |
|
Move cursor to the beginning/end of the line |
β β’ β β |
|
Move cursor to the beginning/end of file |
β β‘ β β£ |
|
Indent/outdent selection |
β ] β [ |
|
Jump to a particular line number |
β G |
|
β Inserting
Purpose |
Keystrokes |
Illustration |
Insert a new line (above or below) and move cursor on it |
β β β β§ β |
|
β Removing
Purpose |
Keystrokes |
Illustration |
cut line where cursor is, without selection. Cut line is available for pasting. |
β X |
|
Remove line where cursor is, without selection. Cut line is not available for pasting. |
β β§ K |
|
π€ Copy & Pasting
Purpose |
Keystrokes |
Illustration |
copy line and paste it |
β C β V |
|
cut line and paste it |
β X β V |
|
copy line where cursor is, without selection, paste it up or down |
β₯ β§ β‘ β₯ β§ β£ |
|
π΄π¦ Replacing
Purpose |
Keystrokes |
Illustration |
Select occurences of selected text or the word where cursor is, then delete and type or paste to replace |
β D |
|
Select all occurences of selected text or the word where cursor is, then delete and type or paste to replace |
β β§ L |
|
Opening
Purpose |
Keystrokes |
Illustration |
Debugging
Purpose |
Keystrokes |
Illustration |
Tooling
Purpose |
Keystrokes |
Illustration |