Skip to main content

One post tagged with "vscode"

View All Tags

VS Code Essential Shortcuts Cheat Sheet

· 4 min read
Anand Raja
Senior Software Engineer

⌨️ Critical Keyboard Shortcuts

Multi-Line Editing (Most Important!)

  • Add Cursor Above/Below: Ctrl + Alt + Up/Down (Windows/Linux) | Cmd + Option + Up/Down (Mac)
  • Add Cursor at Mouse Position: Alt + Click (Windows/Linux) | Option + Click (Mac)
  • Select All Occurrences of Current Selection: Ctrl + Shift + L (Windows/Linux) | Cmd + Shift + L (Mac)
  • Select Next Occurrence: Ctrl + D (Windows/Linux) | Cmd + D (Mac)
  • Insert Cursor at End of Each Line Selected: Shift + Alt + I (Windows/Linux) | Shift + Option + I (Mac)
  • Column (Box) Selection: Shift + Alt + Drag (Windows/Linux) | Shift + Option + Drag (Mac)