How do you add a context menu? (in the explorer and/or the editor)
I tried the following which doesn't work:
{
"command": "extension.sayHello",
"title": "Say Hello",
"context": {
"where": "explorer/context",
"when": "json"
}
}
That's based on:
The extensionAPI documentation has a working example: https://code.visualstudio.com/docs/extensionAPI/extension-points