Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Disable Second Empty GroupNew to Visual Studio Code? Get it now.
Disable Second Empty Group

Disable Second Empty Group

random programs

|
1 install
| (0) | Free
Prevents Ctrl+2/Cmd+2 from creating or focusing an empty second editor group.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Disable Empty Editor

This extension overrides Ctrl+2 on Windows/Linux and Cmd+2 on macOS so the shortcut only focuses the second editor group when that group already has visible tabs.

If the second editor group does not exist, or exists with no tabs, the shortcut does nothing instead of creating a blank editor group.

Development

pnpm install
pnpm run compile

Then press F5 in VS Code to launch an Extension Development Host.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft