-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Add an explorer/title menu contribution point #108271
Comments
@eamodio I think this is a fair request. So for now no immediate plans but let's leave in the backlog and I am open to allow this in the future if there are more good use cases. |
😢 |
@isidorn that could be mitigated by implementing a '...' secondary actions menubutton which would appear if at least one contribution to |
An "Add config files to project" extension would be a good client of this menu, probably others. Following SCM view's lead as @gjsjohnmurray suggests sounds reasonable. |
🙏 Please reconsider for the backlog @vscode-triage-bot |
|
Awesome thank you @JacksonKearl! Maybe for the
Also -- is this issue generally "panels adding to their title bars" or specifically the explorer panel? It would be nice if all panels operated this operated as an overflow -- e.g. 3 buttons can appear in the bar but on the 4th it appears in the |
Explorer panel only. Some of the other panels already support contributions, such as SCM. |
Do custom panels support buttons @JacksonKearl? We couldn't find anything about it. |
@jaredbroad yes, I know GitLens's panels have actions, I assume the code is pretty much the same as core's panels. |
Just to add to the mix with a use case we have in mind in educational contexts, Codespaces tends to assume that a user's default workspace is Via an extension, then, we're hoping to add a "parent folder" icon to Explorer that takes students to We can contribute such now via {
"command": "extension.home",
"group": "navigation",
"when": "view == explorer"
} Many thanks! |
The explorer already has 4 icons which is where we normally cap number of displayed icons in a view panel. As @gjsjohnmurray stated once this is implemented these contributions are likely to exist as a |
Currently extensions can't contribute to the Explorer's title menu
It would be great to allow this. For example it would allow for a better UX in the Toggle Excluded Files to add the toggle there rather than omni-present in the statusbar (See #103536 for an ask)
The text was updated successfully, but these errors were encountered: