DEV Community

Discussion on: Most Useful Visual Studio Code Shortcuts To Improve Your Productivity

Collapse
mentoraliu profile image
Mentori

you forgot "Ctrl+/" to comment a line instantly, also "alt+shift+f" to format your code

Collapse
myogeshchavan97 profile image
Yogesh Chavan Author • Edited on

Hi @mentoraliu , thanks for reading. I have already included the comment shortcut. You might have missed it.

I don't use shortcut to format code but I use prettier VS Code extension which formats code automatically when the file is saved.

Check out my this article to understand how to do it.