Make it possible to install VS Code web-extensions #22320
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
kind/task
Internal things, technical debt, and to-do tasks to be performed.
severity/P1
Has a major impact to usage or development of the system.
Is your task related to a problem? Please describe
When the user tries to install a web-extension, e.g. vscodevim.Vim, the installation fails with:
![image](https://private-user-images.githubusercontent.com/1636395/248312860-3c6616dd-5059-436c-b3d4-b281523a8655.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNDIwMjUsIm5iZiI6MTcyMDA0MTcyNSwicGF0aCI6Ii8xNjM2Mzk1LzI0ODMxMjg2MC0zYzY2MTZkZC01MDU5LTQzNmMtYjNkNC1iMjgxNTIzYTg2NTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDNUMjEyMjA1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzIwNjM0NTkwM2E1ODFmMzY5NTcxMmQ5ZTQ1ZTg3MThmYmQxZmU3MTIzZmNhYjg3ZjUzMjQ0M2I3NzVjZDI0NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.8BEKFlpba87j7KIq_vhZ2dw9l0VnRPBJNPEdXLwtw_8)
From the logs:
[error] Error: No extension gallery service configured.
When the user clicks the
Try Downloading Manually...
button, Che-Code downloads the vsix file, and then the user is able to install the extension with the help of theInstall from VSIX...
command.A web-extension that is running in a browser extension host (instead of a remote extension host) should be installed without any errors.
Describe the solution you'd like
Most likely, the problem is that in Che-Code there's no
extensionsGallery.resourceUrlTemplate
specified in theproduct.json
file. It looks mandatory for installing the web-extensions.We need to check that.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: