Shrink selection: the shortcut in both apps
Each app binds this differently. The table shows the keys in IntelliJ and VS Code side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| IntelliJShrink the selection | Option↓ | CtrlShiftW | CtrlShiftW |
| VS CodeShrink selection | CtrlShiftCmd← | AltShift← | AltShift← |
How the apps compare
- Mac: Option+↓ in IntelliJ; Ctrl+Shift+Cmd+← in VS Code.
- Windows: Ctrl+Shift+W in IntelliJ; Shift+Alt+← in VS Code.
- Linux: Ctrl+Shift+W in IntelliJ; Shift+Alt+← in VS Code.
Learn it by pressing it: IntelliJ shortcuts practice or VS Code shortcuts practice.