-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to install Theia Plugins #13349
Comments
@vitaliy-guliy could explain how it blocks #12905 ? Is the problem only that without a |
@davidfestal I'm able to continue working on #12905 but I cannot test how installed Theia plugin works. I add/remove plugins to/from attributes in workspace config and need to restart workspace to apply changes. You can reproduce the problem by adding a Theia plugin to workspace config. |
@davidfestal Cold you check this meta.yaml for Theia plugin.
I suppose Theia plugin has to be configured somehow differently, not by |
@vitaliy-guliy No, that's the current configuration, something was lost in that PR when we merged it (theia plugins are processed identically to VS Code plugins). Everything works if we preserve file extensions (giving theia plugins I think the original idea was that both Theia and VS Code plugins can include |
Well, the final part of the name, is filename of the extension downloaded by the URL. |
@davidfestal it's not critical for me. Let it be as you wrote. |
Has this been fixed? I still appear to encounter it. What builds of which components do I need to have the fix? |
@vitaliy-guliy @davidfestal When loading a workplace with a Theia extension (using a devfile), the loading shows the following:
The line I should also note that the workaround here: #13349 (comment) does work for me. |
... now magically it started to work :) I guess some backend processes finally kicked in? I do still see On the fs, the filename looks like |
@makandre Yes, the "magically" part is the versioning for the plugin broker. On Che, you are likely using plugin broker The reason the filename in the filesystem is strange is mostly to avoid name collisions -- it shouldn't interfere with functionality. The reasoning behind it is that a single plugin could define multiple extensions, so the naming scheme is required. The reason you're seeing |
Description
It looks after merging the PR installing of Theia Plugins become impossible. All Theia plugins configured in workspace config are handled as VS Code extensions and downloaded in
/plugins
directory with wrong extension.Screenshot below displays logs of plugin broker while installing the plugins
A plugin
eclipse-che/tree-view-sample-plugin/0.0.1
is a Theia plugin temporary stored on github in https://raw.githubusercontent.com/vitaliy-guliy/che-theia-plugin-registry/master/plugins/eclipse-che/tree-view-sample-plugin/0.0.1/meta.yamlI opened terminal for
theia-ide
container and listed/plugins
directoryBlocks #12905
Reproduction Steps
Install che-omnisharp-plugin plugin got from plugin registry by adding
redhat-developer/che-omnisharp-plugin/0.0.1
to workspace configurationinstall custom tree-view-sample-plugin plugin built from che-theia-samples by adding
https://raw.githubusercontent.com/vitaliy-guliy/che-theia-plugin-registry/master/plugins/eclipse-che/tree-view-sample-plugin/0.0.1
to workspace configuratoinOS and version:
Diagnostics:
The text was updated successfully, but these errors were encountered: