DEV Community

Adam Davis
Adam Davis

Posted on

3

Which VS Code shortcut do you use the most?

If VS Code is your primary editor, what’s the shortcut you use most frequently?

Do you have another shortcut you use less frequently, but you enjoy using it a lot?

Top comments (4)

Collapse
 
brewinstallbuzzwords profile image
Adam Davis

I use Cmd+k w all the time to close every file. When I start working on a new task, I like to be able to quickly clear away all the other files I have open.

Highlighting across multiple lines with the scroll wheel is probably my favorite shortcut. It spawns cursors in the same column across multiple lines. I don't run into use cases for it very often, but I love a good chance to use it.

Collapse
 
j143 profile image
Janardhan Pulivarthi

I do not prefer ctrl + w because I accidentally close other application windows in the process. I manually close the specific windows with a mouse cursor.

Collapse
 
j143 profile image
Janardhan Pulivarthi

Ctrl + Shift +P to get the command palette.

Collapse
 
j143 profile image
Janardhan Pulivarthi

May be unrelated, there is an easier way press this key combination with touch typing - dev.to/j143/best-way-to-press-ctrl...

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay