DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Sean Collins
Sean Collins

Posted on

vscode shortcuts

Y'all may already know these. I'm new to vscode, and have found these shortcuts helpful:

  • In a new HTML file, type ! or html, and choose from one of the options Emmet produces, to get a basic HTML template.

  • In HTML/CSS files, use CTRL/COMMAND + K, CTRL + C, to add a comment block. Sadly, it doesn't seem to work in a JavaScript (.js) context.

  • Highlight one or more lines of code and hit CTRL/COMMAND + / to comment/uncomment the block. Very handy!!

Top comments (0)

🌚 Life is too short to browse without dark mode