Expand selection in Visual Studio Code
Multi-cursorWindowsShift+Alt+RightShiftAlt→
MacCtrl+Shift+Cmd+Right⌃⇧⌘→
On Windows, press Shift + Alt + Right. On Mac, press Ctrl + Shift + Cmd + Right.
Ask your agent
Prompt
In Visual Studio Code, the shortcut to "Expand selection" is Shift+Alt+Right on Windows and Ctrl+Shift+Cmd+Right on Mac. Check whether anything in my setup overrides it, and if I want a different key, change the binding for me.
Paste into Claude Code and it will do the rest.
Related Visual Studio Code shortcuts
- Select all occurrences of current selectionCtrl+Shift+LCtrlShiftL
- Shrink selectionShift+Alt+LeftShiftAlt←
- Insert cursorAlt+ClickAltClick
- Insert cursor aboveCtrl+Alt+UpCtrlAlt↑
- Insert cursor belowCtrl+Alt+DownCtrlAlt↓
- Undo last cursor operationCtrl+UCtrlU
- Select current lineCtrl+LCtrlL
- Select all occurrences of current wordCtrl+F2CtrlF2
Questions
On Windows, press Shift + Alt + Right. On Mac, press Ctrl + Shift + Cmd + Right.