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

Error: Command with id 'workbench.extensions.command.installFromVSIX' is not registered #15169

Open
fipro78 opened this issue Mar 12, 2025 · 1 comment · May be fixed by #15179
Open

Error: Command with id 'workbench.extensions.command.installFromVSIX' is not registered #15169

fipro78 opened this issue Mar 12, 2025 · 1 comment · May be fixed by #15179
Assignees
Labels
vscode issues related to VSCode compatibility

Comments

@fipro78
Copy link
Contributor

fipro78 commented Mar 12, 2025

Bug Description:

I installed a current Theia IDE. Then I installed the CodeLLDB extension from Open VSX: https://open-vsx.org/extension/vadimcn/vscode-lldb

The extension tries to download and install the platform package for the OS. This fails with the error:

Installing platform package from https://github.com/vadimcn/codelldb/releases/download/v1.11.4/codelldb-win32-x64.vsix
Error: Error: Command with id 'workbench.extensions.command.installFromVSIX' is not registered.

In the extensions view there is the option Install from VSIX... in the More Actions menu. If I download the platform VSIX manually and install it via that option, it seems to work.

I suppose the install from VSIX action is not registered with the 'workbench.extensions.command.installFromVSIX' command id.

Steps to Reproduce:

  1. Install a Theia IDE
  2. Try to install CodeLLDB via the Extensions view

Additional Information

The code of the CodeLLDB extension that performs the operation is here: https://github.com/vadimcn/codelldb/blob/e5aef55fd68b54f9f33c7c293e0321d7f6396be8/extension/install.ts#L67C77-L67C92

  • Operating System: Windows 11
  • Theia Version: 1.59.1
@rschnekenbu
Copy link
Contributor

Thanks for reporting, @fipro78!

The code in charge of compatibility for the vs code commands is located in

.
As we can see in this file, the 'workbench.extensions.installExtension' command has been mapped, but not the command used by the CodeLLDB extension.
The addition of the command 'workbench.extensions.command.installFromVSIX' shall probably made here. In Theia, the vsx installation commands are defined in the file
commands.registerCommand(VSXExtensionsCommands.INSTALL_VSIX_FILE,
. At first glance, it seems the command from VS code expect a parameter, which would probably map to the VSXExtensionsCommands.INSTALL_VSIX_FILE command parameter.

@rschnekenbu rschnekenbu added the vscode issues related to VSCode compatibility label Mar 12, 2025
rschnekenbu added a commit that referenced this issue Mar 13, 2025
fixes #15169

Contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <[email protected]>
@rschnekenbu rschnekenbu self-assigned this Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants