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

Customize header actions #148475

Closed
ahmafi opened this issue Apr 30, 2022 · 2 comments
Closed

Customize header actions #148475

ahmafi opened this issue Apr 30, 2022 · 2 comments
Assignees

Comments

@ahmafi
Copy link

ahmafi commented Apr 30, 2022

Adding or removing actions from these headers would be nice. For example, I want to add Close saved editors in this header, next to Close All Editors:

image

Or I would like to add Stage Selected Range in the source control view:

image

@joyceerhl
Copy link
Collaborator

Likely duplicate of #9285.

Alternatively you could write an extension which contributes these commands to the relevant menus: https://code.visualstudio.com/api/references/contribution-points#contributes.menus

@ahmafi
Copy link
Author

ahmafi commented May 2, 2022

I found this extension ( Shortcut Menu Bar) after searching for a bit. It does almost what I want. Can't change all header actions though.

@ahmafi ahmafi closed this as completed May 2, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@jrieken @ahmafi @joyceerhl and others