-
Notifications
You must be signed in to change notification settings - Fork 110
Handle more exported properties from remote plugins #794
Conversation
❌ E2E Happy path tests failed ❗ See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1) ℹ️ |
Handle more properties from the exports also handle constants directly (as some plugin's are checking if the returned value is a string and not a function that might return a string) Change-Id: Icbb026f65577422168f1acab486e598c6146c170 Signed-off-by: Florent Benoit <[email protected]>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1) |
I think there is a problem here: I set up a debug environment according to https://github.com/eclipse/che-theia/blob/master/CONTRIBUTING.md#how-to-develop-che-theia-remote-plugin-mechanism
So the classpath listener is never installed. |
FWIW: my devfile:
|
@benoitf what is your procedure for verifying that the sonarlint plugin works correctly with Java stuff? |
Ok, I need to add the Java plugin to the target system...stand by. |
in that specific case, I added explicit dependencies to without that patch, it fails to see all stuff from |
In the spirit of compatiblity with vs code extensions, I think we should not rely on the "extensionDependencies" field in the package.json for "getExtension(...)" to work. Also, since it works when running in the same container, I would argue that the extension API should be as much location transparent as possible. |
I agree that we should make it work but at some point but there is a real need to have optional dependencies marked in package.json microsoft/vscode#6384 Because in activation events, it needs to be ordered BTW this PR was just fixing wrong exported elements, not addressing the optional/required extensions issue |
* Update vale to "official" version 0.12.0 Signed-off-by: Thomas Mäder <[email protected]> * Address PR comments Signed-off-by: Thomas Mäder <[email protected]>
What does this PR do?
Handle more properties from the exports
also handle constants directly (as some plugin's are checking if the returned value is a string and not a function that might return a string)
Checked with https://che.openshift.io/f?url=https://gist.githubusercontent.com/benoitf/1fcff181b08448a96ee186bec3b5222f/raw/f4bbe2febfbd89a32dcfdf6eff470f674be7010c/devfile-16589.yaml
What issues does this PR fix or reference?
Part of eclipse-che/che#16589
Change-Id: Icbb026f65577422168f1acab486e598c6146c170
Signed-off-by: Florent Benoit [email protected]