How to add extension pack to theia

Hi I am trying to add azure node pack to my theia docker image by mentioning the vsix file url .during yarn theia download:plugins i can see that it doesnt download other extenson embedded in to the pack.Is there a way we can incorporate this?

  1. I am downloading the vsix from VS studio market place and uploading to my local server
  2. I am updating path for above uploaded vsix file in my package.json
    3 . When running yarn theia download:plugins it doesnt download all dependent extensions but only parent one gets downloaded
  3. Package.json: https://github.com/sumeshkanayi/theia-apps/blob/master/theia-full-docker/latest.package.json#L139
    5 . VScode extension pack: https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-azureextensionpack

Please let me know

@sumeshkanayi I confirmed that extension packs (such as the Java Extension Pack) works well (all extensions declared in the pack are properly fetched. I believe vscode-node-azure-pack does not work properly since not all extensions declared in the pack are present under open-vsx which is used as an extension marketplace given that the vscode marketplace is proprietary and can only be used by official microsoft or vscode products.

You can certainly request that these extensions are added to open-vx.

Thanks @vince-fugnitto. Is there a way I can host my own extension registry and extension packs so that it plugins will be downloaded from my private registry? If that’s not readily available can you or some one here point to the portion in code where I can try to customize this behavior

@sumeshkanayi it is possible to host your own private open-vsx registry if you require, or you can publish these azure extensions for the open source version. If you have specific questions regarding open-vsx it may be best to ask them directly on their repository.

If that’s not readily available can you or some one here point to the portion in code where I can try to customize this behavior

Which behavior would you like to customize exactly?

As far as I understand from your earlier comment, if I try to use an extension pack it will try to download the extensions from open vsx registry. I would like to create an extension pack which when used along with theia will basically download extensions from my private registries

@sumeshkanayi if you were to host your own open-vsx registry then you can simply use the configuration option through the environment variable:

Configuration

The extension connects to the public Open VSX Registry hosted on http://open-vsx.org/.
One can host own instance of a registry and configure VSX_REGISTRY_URL environment variable to use it.

1 Like

awesome … i will try this out thanks @vince-fugnitto

1 Like