-
Notifications
You must be signed in to change notification settings - Fork 341
theia-electron: include default plugins #299
theia-electron: include default plugins #299
Conversation
In package.json, do we want to put in Also in plugins section the dependencies of the builtins, add: Also, why not using the electron-builder latest version, "electron-builder": "^22.0.1" (version 22.3.2), it will create the AppImage like
instead of (quote and space in the name)
|
@spoenemann @akosyakov I only tested that plugins worked when bundled as an AppImage on Ubuntu. I would need help from people on other platforms to check if it works there too. edit: looks like it works when I install the .deb as well. @lmcbout I added the start script, even though the real value is in the bundles. I also fixed the name of the AppImage without updating electron-builder, I didn't want to fight with a CQ. |
3e95478
to
7ba7514
Compare
electron-buider has some fixes with latest version, we should aim to update it even it requires a CQ. |
There is no CQ required for this repo since it is not under the Eclipse Foundation. Something like updating |
|
33c0027
to
7ba7514
Compare
Tested the |
@marechal-p While you're there, I think the (note: the Theia platform version is already reflected in the tag when we publish on |
I verified and it did not work correctly on mac or win. Update: Note that on |
7ba7514
to
c291967
Compare
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.
I did a pass on what should be removed/added in the example.
In our list of dependencies
we should remove the following:
@theia/merge-conflicts
Please also see my other comments regarding the java
plugins not necessary in this example.
b724024
to
e868f50
Compare
code-wise it looks good to me |
e868f50
to
4ca4868
Compare
Use a set of VS Code builtin extensions and some non-builtins to provide more functionality to the Electron example IDE. Signed-off-by: Paul Maréchal <paul.marechal@ericsson.com>
4ca4868
to
afed243
Compare
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.
I'm happy with the latest changes 👍
I verified on macOS that the build is successfully and I am able to consume the listed plugins.
process.env.THEIA_PLUGINS = [ | ||
process.env.THEIA_PLUGINS, `local-dir:${path.resolve(os.homedir(), '.theia', 'plugins')}`, | ||
].filter(Boolean).join(',') |
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.
@akosyakov IIRC when I tested this I was installing unpacked extensions there without any issues.
Use a set of VS Code builtin extensions and some non-builtins to provide
more functionality to the Electron example IDE.
Signed-off-by: Paul Maréchal paul.marechal@ericsson.com