DEV Community

Daniela Lima
Daniela Lima

Posted on

12 VS Code Shortcuts To Code Faster!

Some of these tips I took from VS Code documentation. I recommend you to take a look. 📃VS Code docs.

1. Quick file open: Ctrl + P

QuickFileOpenPIC

2. Show terminal: Ctrl + backtick

ShowTerminalPIC

3. Zen mode: Ctrl + K, then Z

ZenMondePIC

4. Open new editor: Ctrl + \

SplitEditorPIC

5. Switch between editors: Ctrl + 1, Ctrl + 2...

NavigateEditorPIC

6. Multi cursor selection: Alt + Click or Ctrl + Alt + Up/Down

MultiCursorPIC

7. You can also add additional cursors to all occurrences of the current selection: Ctrl + Shift + L

AllOcurPIC

8. Or if you want to select only the next occurrence: Ctrl + D

OneByOnePIC

9. Copy line up / down: Shift + Alt + Up/Down

CopyLinePIC

10. Move line up and down: Alt + Up/Down

MoveLinePIC

11. Code formatting: Shift + Alt + F (whole document)

FormatPIC

12. Rename: F2

RenamePIC

😎 You might also like:
Python Typing

📫 Where to find me:
All my links

Top comments (0)