Skip to content

Switch to using the installExtension command for offline/insider vsix installing #3408

@sean-mcmanus

Description

@sean-mcmanus

They added it to 1.33.0.

vscode.commands.executeCommand('workbench.extensions.installExtension', vscode.Uri.file('path-to-vsix'));

The problem with the current method is that it has to locate the .exe, which may fail for various reasons (such as the .exe name not matching what we expect).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions