Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label "close" commands for views; improve enablement #531

Merged

Conversation

colin-grant-work
Copy link
Contributor

At the moment, the Close commands for each contributed view:

  • All have the same title "Close"
  • Are all enabled and visible in the command palette even if the corresponding view isn't actually visible

This PR

  • Adds details about the view to be closed to the title so that each is distinct
  • Uses a ${viewId}.visible context key that is automatically set up by VSCode for each view to determine enablement.

Copy link
Contributor

@HighCommander4 HighCommander4 left a comment

Choose a reason for hiding this comment

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

Thanks!

@HighCommander4 HighCommander4 merged commit b1113ec into clangd:master Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants