DEV Community

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

mentoraliu profile image

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

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.