GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
319 stars 59 forks source link

Cannot uncheck "Include system environment variables" #3131

Open cedriclevarlet opened 1 year ago

cedriclevarlet commented 1 year ago

Expected Behavior

When I configure the environment variables in Advanced settings for Cloud code: Kubernetes, I would want to be able to disable system environment variables and only use the User defined environment variables.

Actual Behavior

  1. Goto Run/Debug Configuration

  2. Expand Advanced Settings

  3. Bring up the Environment Variables window image

  4. Uncheck the box Include system environment variables image

  5. Save configuration by clicking OK

  6. Open Run/Debug Configuration

  7. Bring up the Environment Variables window

  8. The previously unchecked box is checked again image

Additional Information

ivanporty commented 1 year ago

Thank you @cedriclevarlet for the report, we are looking at this and will let you know when we know more.

ivanporty commented 1 year ago

@cedriclevarlet looks like the settings is persisted until you reopen the configuration once again and that's where we seem to always reenable it. Could you please confirm this is the case and you can actually use custom variables after you close but do not reopen configuration as a workaround, and in the meanwhile we can schedule work to fix this.

ivanporty commented 1 year ago

@peterlin741 please file an internal issue for this.