menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

Naming of contributed menu item and contextual command

February 11, 2019 at 4:02pm

Naming of contributed menu item and contextual command

February 11, 2019 at 4:02pm (Edited 4 years ago)
"contributes": {
"menus": {
"explorer/context": [
{
"command": "hosted-plugin:start",
"group": "navigation"
}
]
}
}
I would like to add a menu item to the file explorer context menu with the hosted-plugin:start command.
  1. Can i give a label to the menu item other than the command's label? something like adding to the "explorer/context" { "label": "Run plugin"}
  2. If i have many plugin in my workspace and i want that right click on any plugin -> hosted-plugin:start will start the instance of the specific right clicked plugin? (contextual start instance) is it possible/going to be possible?
Thanks

February 12, 2019 at 7:10am
hello AFAIK for 1. it's not possible
for 2. by using Hosted plugin: select path you're able to change theplug-in you want to test/debug/run (there is no contextual mode right now)

February 13, 2019 at 12:06pm
Thanks for your answer . Do you know if both of them are available on vscode? should i open an issue on theia github for one or both?