Photo by Juan Gomez on Unsplash

12 VS Code Shortcuts To Code Faster!

Daniela Lima
Oct 16, 2021

--

Time savers!

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

NOTE: the shortcuts are in the caption.

Quick file open

Ctrl + P

Show terminal

Ctrl + ` (backtick)

Zen mode

Ctrl + K, then Z

Open new editor

Ctrl + \

Switch between editors

Ctrl + 1, Ctrl + 2, Ctrl + 3...

Multi cursor selection

Alt + Click or Ctrl + Alt + Up/Down

You can also add additional cursors to all occurrences of the current selection

Ctrl + Shift + L

Or if you want to select only the next occurrence

Ctrl + D

Copy line up / down

Shift + Alt + Up/Down

Move line up and down

Alt + Up/Down

Code formatting

Shift + Alt + F (whole document)

Rename

F2

--

--

Daniela Lima

📚 Computer Science student. 🤖 ML/AI lover. ✍🏻 Amateur writer. 🔗 taplink.cc/limaa.ds