Cannot automatically install vscode plugin in Theia
August 30, 2019 at 5:41pmCannot automatically install vscode plugin in Theia
August 30, 2019 at 5:41pm (Edited 3 years ago)
I would like to deploy an instance of Theia with a VS Code plugin. Following the docs here (https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions), I can test the extension successfully, but it requires a manual step. I have created a plugins directory and put my vsix file there, but it is not being installed from Theia.
I see this works if I build Theia from sources, is it possible to get a instance of Theia + plugins without building Theia from sources?
Thanks for your help
August 30, 2019 at 6:15pm
I just found my answer, I can use the THEIA_PLUGINS environment variable to set the plugins folder:
THEIA_PLUGINS=local-dir:./plugins yarn start
. Any plugin available in this directory gets loaded automatically when I launch Theia.I think it would be useful to mention this in the https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions doc page.
September 1, 2019 at 11:59am
it should not be necessary
it's already configured via
plugins
cli option: https://github.com/theia-ide/theia/blob/master/examples/browser/package.json#L68September 3, 2019 at 5:21pm
Thanks