Skip to content

feat(tool-window): close other tool windows when opening one#14

Merged
CalvinAllen merged 1 commit intomainfrom
feat/tool-window/close-others-on-open
Apr 8, 2026
Merged

feat(tool-window): close other tool windows when opening one#14
CalvinAllen merged 1 commit intomainfrom
feat/tool-window/close-others-on-open

Conversation

@CalvinAllen
Copy link
Copy Markdown
Contributor

Summary

  • When a tool window button is clicked to open, all other tool windows configured in the launch bar are automatically hidden first
  • Provides Rider-like exclusive tool window behavior where only one tool window is visible at a time
  • Toggling (hiding) a tool window still works as before without affecting others

Closes #7

Test plan

  • Click Solution Explorer button — it opens, other configured tool windows close
  • Click Git Changes while Solution Explorer is open — Solution Explorer hides, Git Changes opens
  • Click an already-open tool window — it hides (toggle still works)
  • Non-tool-window items (VsCommand, ExternalProgram) are unaffected

When a tool window button is clicked to open, all other tool windows
configured in the launch bar are automatically hidden first, providing
Rider-like exclusive tool window behavior.
@CalvinAllen CalvinAllen merged commit 51becca into main Apr 8, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the feat/tool-window/close-others-on-open branch April 8, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Close one if we open the other.

1 participant