VS Code Keyboard Shortcuts/Column / box select

Create rectangular selection.

Section: Multi-Cursor

Column / box select

text
text
Windows/Linux: Shift+Alt + drag
macOS: Shift+Option + drag

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Multi-Cursor
Add next occurrence to selection
Select next matching occurrence.
OpenIn sheettextsame section
Select all occurrences
Create cursors for all matches.
OpenIn sheettextsame section
Move last selection to next match
Skip the current occurrence and continue selection.
OpenIn sheettextsame section
Add cursors to line ends
Place a cursor at the end of each selected line.
OpenIn sheettextsame section
New window
Open a new VS Code window.
Quick Open
Search and open files.