-
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
plugins are not loaded when theia is started without internet access #6055
Comments
It is a regression caused by auto pulling extension dependencies. We should handle it gracefully and does not fail the whole deployment if one VS Code extension cannot be downloaded. cc @JPinkney @tom-shan I wonder how do you provide |
@tom-shan Also If you can please help fixing it! |
fix eclipse-theia#6055 If all the vscode entensions dependencies(listed in the extensionDependencies field of vscode extension) are already downloaded to local directory before staring theia, then there is no need to download them from the remote(vscode marketplace) during the theia starting process. Signed-off-by: tom-shan <swt0008411@163.com>
No,
Sure, please have a review. |
In my local repo, I just comment these 3 lines. |
- check whether a plugin is already to be deployed by an id - fix to use canonical plugin ids to resolve and activate plugins - make sure that dependencies only resolved after listed plugin entries - don't fail the entire deployment if a resolution of a single plugin entry failed Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
- check whether a plugin is already to be deployed by an id - fix to use canonical plugin ids to resolve and activate plugins - make sure that dependencies only resolved after listed plugin entries - don't fail the entire deployment if a resolution of a single plugin entry failed Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
- check whether a plugin is already to be deployed by an id - fix to use canonical plugin ids to resolve and activate plugins - make sure that dependencies only resolved after listed plugin entries - don't fail the entire deployment if a resolution of a single plugin entry failed Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Description
All the vscode plugins can not be loaded when my host machine has no Internat access.
we have two local vscode extensions which we downloaded from vscode marketplace:
1 vscjava.vscode-java-dependency
2 redhat.java
It should be noted that the vscjava.vscode-java-dependency extension depends on redhat.java(see https://github.com/microsoft/vscode-java-dependency/blob/master/package.json#L165).
When I start theia, theia plugin system will still try to download redhat.java from vscode marketplace. If my host has no Internat access, then all the plugins can not be loaded.
Reproduction Steps
OS and Theia version:
centos 7
theia 6c4fa9c7
Diagnostics:
related to #5379 and #6038
The text was updated successfully, but these errors were encountered: