-
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
Add VS code extensions preferences in workspace configuration #12992
Comments
@l0rd who should take these preferences from workspace config and incorporate them in Theia? Some Che-theia extension, right? |
@garagatyi I don't know what's the best way to implement that. We need some Theia specialists here cc @benoitf @evidolob @azatsarynnyy |
There's the Theia extension in Che Theia that is responsible for mapping/synchronizing the Theia Settings with the Che User Preferences. I think that extension suits perfect for performing such an additional job. E.g., on Theia start, the extension can look into the Che Workspace config attributes and add the corresponded Theia settings if they don't exist yet. |
Also, that Theia extension should take into account that not all of the Che Workspace attributes are the settings for Theia. "attributes": {
"plugin.org.eclipse.che.vscode-redhat.java.preference.java.jdt.ls.vmargs": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication",
"plugin.org.eclipse.che.vscode-redhat.java.preference.java.home": "/home/user/jdk11"
...
} |
Can we please get rid of that syntax that matches part of the plugin id and have some section per plugin? This current way is super confusing and error-prone. |
@tsmaeder : well I would say it's because workpace config is only allowing |
Description
For example it should be possible to override the default JDT LS vmargs to match the sidecar container memory settings. Today that's not possible and we have 2 workarounds that are not really satisfactory:
That same problem will exist for any VS Code plugin that has some defaults that may not work well when they run in a container.
Here is a proposal to include that in a
devfile
andworkspace.config
:devfile
and in json config
workspace config
The text was updated successfully, but these errors were encountered: