VS Code Shortcuts

Toggle word wrap

Alt + Z

Code Formatting

  • On Windows: Shift + Alt + F
  • On Mac: Shift + Option + F
  • On Ubuntu: Ctrl + Shift + I

Navigate to a Specific Line

  • On Windows: Ctrl + g
  • On Mac:Ctrl + g or Ctrl + p
  • On Ubuntu: Ctrl + g

Deleting a Line

  • On Windows: Ctrl + x
  • On Mac: Command + x
  • On Ubuntu: Ctrl + x

select current line

  • One Mac: Command + L

switch text case

  • On Mac: Command + P, then type >transform

ref