DEV Community

Cover image for 100 Crucial Keyboard Shortcuts for VS Code Users.

100 Crucial Keyboard Shortcuts for VS Code Users.

Thomas Sentre on March 22, 2023

In the world of software development, time is a precious commodity. With deadlines looming and projects piling up, anything that can save time and ...
Collapse
 
tythos profile image
Brian Kirkpatrick

SHIFT + ALT + F will auto-format the current document using a known/associated linter (including support for configurable PEP-compatible formatters in Python, and a host of other languages). I've gotten in the habit of pressing that combo before every time I CTRL + S to save. Fooling consistencies may be the hobgloblin of little minds, but I find it helps teams avoid fighting over style guides.

Collapse
 
devland profile image
Thomas Sentre

Thanks for sharing.

Collapse
 
abi0l9 profile image
Monsur Oyedeji

Thanks very much.

Collapse
 
blessing0024 profile image
onome blessing

Thank you for sharing, I find it helpful.

Collapse
 
devland profile image
Thomas Sentre

You're welcome! I'm glad I could help.

Collapse
 
sidipak profile image
Saiful Islam

Ctrl + Shift + a
To toggle commenting a selected block of code

Collapse
 
saeed5443 profile image
CareersArabia

Thank you very much

Collapse
 
corners2wall profile image
Corners 2 Wall

If you want print this for better remember you can download this

Collapse
 
devland profile image
Thomas Sentre

It's helpful. Thanks for sharing.

Collapse
 
kaizensi profile image
Kaizensi

Thank you!

Collapse
 
benherbst profile image
Ben Herbst

Thank you so much, I often come back to this!

Collapse
 
rubina_altaf_a90a3a4817ea profile image
Rubina Altaf

I was finding a brief note on different ways of shortcuts, you have provided me with a good handy shortcuts. Thank you Thomas Sentre.

Collapse
 
mosuael profile image
Elvis Manje

Please I need help to write this
<-------left-sidebar--------> in html using visual studio. Am a beginner and I am trying to build something