Skip to content

Disable Alt+click Close Others for single-tab groups - #331435

Merged
Benjamin Christopher Simmonds (benibenj) merged 2 commits into
mainfrom
copilot/add-alt-click-close-other-tabs
Aug 18, 2026
Merged

Benjamin Christopher Simmonds (benibenj) merged 2 commits into
mainfrom
copilot/add-alt-click-close-other-tabs

Conversation

Copilot AI commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Description

Holding Alt over a tab’s Close action switches it to Close Others. In single-tab groups, this action appeared enabled despite having no other editors to close.

Changes

  • Disable Close Others when the editor group contains one tab.
  • Keep the alternate action visible while Alt is held.
  • Use the full group count so sticky and non-sticky tab rows remain consistent.
  • Preserve existing sticky-tab and Unpin behavior.

Demo

Alt+click Close Others

Copilot AI balanced review requested due to automatic review settings August 18, 2026 08:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Copilot AI changed the title [WIP] Add Alt+click to close other tabs (JetBrains style) Disable Alt+click Close Others for single-tab groups Aug 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Alt+click to close other tabs (JetBrains-style)

5 participants