Shortcuts - VSCode

Getting Started

  • Open terminal: control+tilda
  • Open a file through the terminal: "code + file name/ path to file"
  • Open a folder in vs code to edit and work on a project, just opening the html file or javascript file won’t help.
  • "!+tab":html skeleton. "Link+tab": rel stylesheet (provided file is saved with a "*.html")
  • Renaming a variable in the whole file: select any instance of the var, press F2 and change name
  • "link:css + tab" for css stylesheet shortcut (in the HTML head)
  • "script:source +tab" for javascript stylesheet shortcut (in the HTML body)
  • comments in any language work with "command+ forward slash"
  • Kill a port lsof -i:3000 (info on list of openfiles at port); This gives PIDs; kill PID

iTerm Styling