Latest open-vsx Java plugins are not working in Theia #12610
-
I am using the following plugins for my theia extension:
With this combination, the Java Projects view is not working. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
@BarryDrez thank you for the discussion, are you experience the following error when opening the
If so, you may need to downgrade the version as it seems to be an issue with how the extension was published to open-vsx. |
Beta Was this translation helpful? Give feedback.
-
I will make a PR on Blueprint to pin the Java Project Manager extension to a slightly older version that's known to work. |
Beta Was this translation helpful? Give feedback.
-
BTW, IIRC, there may be other edge cases that may result in the Java extension starting in "lightweight mode" (i.e. very low-features mode). I think e.g. if no JDK or JRE are found (when using the universal version of that extension). For more info, see the Extension's README |
Beta Was this translation helpful? Give feedback.
@BarryDrez Ok, I think I understand what may be happening. There's a preference, related to the vscode Workspace Trust feature, with key
"security.workspace.trust.enabled"
. Can you try to set it to false, thus disabling this feature that's not yet well supported in Theia? If you want to do that same thing programmatically, you can do it like so, in your app'spackage.json
:https://github.com/eclipse-theia/theia-blueprint/blob/master/applications/electron/package.json#L29