-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Che plugin that extends a existing plugin #19125
Comments
It's a nice idea, but comes with some significant corner cases that need to be addressed:
|
we get from an mn problem (javaquarkus*lombok, etc.) to an m+n problem. In particular, the quarkus plugin could be formulated as an extension to the Java plugin which could be freely combined with the lombok plugin, for example. Since we have dependencies between VS Code extensions already (we just ignore them at the moment, if I recall correctly), that problem needs solving anyway and is not an argument against the proposal. I agree that the sidecar problem needs a solution. I've proposed a long time ago that we merge all extensions requiring the same sidecar image in the same container. We already merge plugins that do now specify a container into the Theia IDE container. Why not extend that to all images? It would also save runtime resources. |
just a FYI, but merging sidecar containers using the same image into a single one is possible by enabling a flag in devfile.yaml |
@benoitf do we have documentation on this? Asking because until this moment, I was not aware that such a feature existed. |
and related issue: #15373 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your enhancement related to a problem? Please describe.
In many situation, a devfile should have the ability to use an existing plugin but with additional vscode extensions.
For instance:
Describe the solution you'd like
So let's say we have
cool2k/vscode-lombok/latest
that is defined with in the plugin registry with an attributebasePlugin
in The devfile we would have:
or
Describe alternatives you've considered
There are merge plugin capabilities but these are very limited as it would merge the plugins with the same base image. For the lombok example, it would be hard to use as we would need to define lombok plugin per version of Java
Additional context
N/A
The text was updated successfully, but these errors were encountered: