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

Allow contributing to the context menu in the TreeView's empty space #188259

Open
EhabY opened this issue Jul 19, 2023 · 3 comments
Open

Allow contributing to the context menu in the TreeView's empty space #188259

EhabY opened this issue Jul 19, 2023 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality tree-views Extension tree view issues
Milestone

Comments

@EhabY
Copy link
Contributor

EhabY commented Jul 19, 2023

We can contribute to the context menu of a tree view item using view/item/context. However, there is no way to do it for the empty space under all nodes (as in the Explorer). This could be useful to put commands that initialize or add nodes.

image

Under NyuziProcessor nodes we cannot right click to add more projects for example...

@gjsjohnmurray
Copy link
Contributor

As a workaround you could contribute to the view/title menu to add your command to its titlebar as a button or to the ... menu there.

@alexr00 alexr00 added feature-request Request for new features or functionality tree-views Extension tree view issues labels Jul 19, 2023
@alexr00 alexr00 added this to the Backlog Candidates milestone Jul 19, 2023
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot
Copy link
Collaborator

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@alexr00 alexr00 modified the milestones: Backlog Candidates, Backlog Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality tree-views Extension tree view issues
Projects
None yet
Development

No branches or pull requests

4 participants