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

Sub menus by extensions in explorer context menus #11625

Closed
ydcoming opened this issue Sep 7, 2016 · 5 comments
Closed

Sub menus by extensions in explorer context menus #11625

ydcoming opened this issue Sep 7, 2016 · 5 comments
Assignees
Labels
api *duplicate Issue identified as a duplicate of another issue(s)

Comments

@ydcoming
Copy link

ydcoming commented Sep 7, 2016

  • VSCode Version:
  • OS Version:

Steps to Reproduce:

  1. 1.4
  2. I would like to explorer/context extension right click menu, there is a sub menu ,how do I do

"menus": {
"explorer/context": [
{
"command": "extension.openNewInstance",
"group": "navigation@2",
"openNewInstance":[
{
"command": "extension.openNewInstance",
"group": "navigation@1"
}
]
},
{
"command": "extension.scopeToHere",
"group": "navigation@1"
}
]
}

@ramya-rao-a
Copy link
Contributor

@ydcoming Are you asking how to add sub menu to your menu item in explorer/context menus?

@ydcoming
Copy link
Author

ydcoming commented Sep 7, 2016

yes

@ydcoming
Copy link
Author

ydcoming commented Sep 7, 2016

@ramya-rao-a my menu has items

@ramya-rao-a ramya-rao-a changed the title extension explorer/context menus Sub menus by extensions in explorer/context menus Sep 7, 2016
@ramya-rao-a ramya-rao-a changed the title Sub menus by extensions in explorer/context menus Sub menus by extensions in explorer context menus Sep 7, 2016
@ramya-rao-a ramya-rao-a added the api label Sep 7, 2016
@ramya-rao-a
Copy link
Contributor

@jrieken At the moment, extensions cannot add submenu items to explorer/editor context menus, correct?

@jrieken
Copy link
Member

jrieken commented Sep 8, 2016

closing as dupe of #9827

@jrieken jrieken closed this as completed Sep 8, 2016
@jrieken jrieken added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 8, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants