Picture of the author
Published on

VSCode tips

Authors

VSCode shortcuts

  • Format code: shift+alt+f.
  • Copy line up/down: shif+alt+up/down.
  • Delete a line: ctrl+shift+k.
  • ctrl+shift+up/down:
  • !: Gives HTML boilerplate (emmet).
  • lorem: Gives random text (emmet). use lorem*n for n times text.
  • You can trigger suggestions at any time by pressing Ctrl+Space.
  • To format HTML source code, you can use the Format Document command Ctrl+Shift+I to format the entire file or Format Selection Ctrl+K Ctrl+F to just format the selected text.