-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[vscode] allow installation of extension packs #6682
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it with both the java extension pack and the python extension pack and it works well
Fixes #6611 - added `extensionPack` property to `PluginPackage` interface. - when getting dependencies, ensure that `extensionPack` dependencies are also loaded. Extensions packs can now be unloaded and their bundled extensions installed. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
79814b7
to
62c8fd8
Compare
I've verified with the latest changes that:
|
@lmcbout did you get a chance to try it out for yourself? |
As well one should remove
BTW, testing a bit with @lmcbout , it looks like adding the built-in as a npm dependency is not enough to have it be discovered/used: we had no syntax highlighting until we copied it under About the need to restart the BE / reset the FE, so that plugins work correctly: I think this is probably the problem that @akosyakov was referring-to in a recent dev-meeting? |
Correct, to be fair I removed whatever was not necessary.
The builtins cannot be consumed as
I'm not sure if hot reload works at the moment (the fact that the FE had to be restarted). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After testing with @marcdumais-work and having the @theia/vscode-builtin-java running
The pack extension seems to work
tested on Ubuntu 16.04
What it does
Fixes #6611
extensionPack
property toPluginPackage
interface.extensionPack
dependencies are also loaded. Extensions packs can now be unloaded and their bundled extensions installed.How to test
@theia/java
,@theia/java-debug
,@theia/textmate-grammars
@theia/vscode-builtin-java
java extension pack
: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-packReview checklist
Reminder for reviewers
Signed-off-by: Vincent Fugnitto vincent.fugnitto@ericsson.com
cc @eclipse-theia/plugin-system