-
Notifications
You must be signed in to change notification settings - Fork 37k
Add viewContainer contribution point #212499
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
Conversation
Signed-off-by: thegecko <rob.moran@arm.com>
|
It this be |
src/vs/workbench/services/extensions/common/extensionsApiProposals.ts
Outdated
Show resolved
Hide resolved
I've renamed this to Readme and example updated to reflect the changes above. |
|
Discussed with @jrieken earlier, pushed a change to require that this contribution point only apply to the debug view container, for now. Also, the proposal is mentioning "context menus" but this is only about the title menu, right? I'm renaming the proposal, but otherwise this is ready for Insiders :) |
As discussed in #200880 we are keen to add a contribution point to the debug viewlet.
This proposal implements this as well as allowing contributions to other view containers.
To use this proposal, the
package.jsonwould look similar to:{ ... "enabledApiProposals": [ "viewContainerContext" ], "contributes": { "commands": [ { "command": "proposed.dummyMenu", "title": "Dummy Menu", "icon": "$(beaker)" } ], "menus": { "viewContainer/title": [ { "command": "proposed.dummyMenu", "group": "navigation", "when": "viewContainer == workbench.view.debug" } ] } }, ...An example can be found here: https://github.com/thegecko/vscode-proposed-debug
Partially fixes: #200880