Skip to content

Ability to contribute actions to context menu of extension in extensions viewlet #87285

Closed

Description

Ability to contribute actions to context menu of extension in extensions viewlet

Activity

  1. added a commit that references this issue on Dec 23, 2019
  2. sandy081 commented on Dec 30, 2019

    @sandy081
    MemberAuthor

    Exposed new menu location extension/context to contribute actions for an extension. Eg:

    "menus": {
    			"extension/context": [
    				{
    					"command": "extension.helloWorld",
    					"group": "2_configure"
    				}
    			]
    		}
    

    extension id is passed as an argument to the registered command.

    vscode.commands.registerCommand('extension.helloWorld', (extensionId) => {
    		vscode.window.showInformationMessage(extensionId);
    	});

    You can use the when condition "when": "extensionStatus==installed" if you want to have the action only on installed extensions.

  3. locked and limited conversation to collaborators on Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址