Skip to content
| Marketplace
Sign in
Visual Studio Code>Keymaps>StretchNew to Visual Studio Code? Get it now.
Stretch

Stretch

grg

grg.app
|
124 installs
| (0) | Free
| Sponsor
Resize panels and sidebars with shortcuts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stretch

Stretch the size of the panel up and down, and the primary & secondary sidebars left and right, to increase and decrease the size of these areas using keyboard shortcuts.

The keyboard shortcuts are based on IntelliJ's shortcuts for resizing tool windows.

The pattern to the shortcuts is

  • macOS: ⌃ ctrl + ⌥ alt + direction to move edge

  • Windows/Linux: ⌃ ctrl + ⌥ alt + ⇧ shift + direction to move edge

Keybindings

macOS Windows/Linux
When focus is in the bottom panel,
expand the panel larger ⌃ ctrl + ⌥ alt + ↑ up ⌃ ctrl + ⌥ alt + ⇧ shift + ↑ up
shrink the panel smaller ⌃ ctrl + ⌥ alt + ↓ down ⌃ ctrl + ⌥ alt + ⇧ shift + ↓ down
When focus is in the primary sidebar on the left (default),
expand the panel larger ⌃ ctrl + ⌥ alt + → right ⌃ ctrl + ⌥ alt + ⇧ shift + → right
shrink the panel smaller ⌃ ctrl + ⌥ alt + ← left ⌃ ctrl + ⌥ alt + ⇧ shift + ← left
When focus is in the primary sidebar on the right (workbench.sideBar.location == 'right'),
expand the panel larger ⌃ ctrl + ⌥ alt + ← left ⌃ ctrl + ⌥ alt + ⇧ shift + ← left
shrink the panel smaller ⌃ ctrl + ⌥ alt + → right ⌃ ctrl + ⌥ alt + ⇧ shift + → right
When focus is in the secondary sidebar on the right (default),
expand the panel larger ⌃ ctrl + ⌥ alt + ← left ⌃ ctrl + ⌥ alt + ⇧ shift + ← left
shrink the panel smaller ⌃ ctrl + ⌥ alt + → right ⌃ ctrl + ⌥ alt + ⇧ shift + → right
When focus is in the secondary sidebar on the left (workbench.sideBar.location == 'right'),
expand the panel larger ⌃ ctrl + ⌥ alt + → right ⌃ ctrl + ⌥ alt + ⇧ shift + → right
shrink the panel smaller ⌃ ctrl + ⌥ alt + ← left ⌃ ctrl + ⌥ alt + ⇧ shift + ← left
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft