Skip to content

Standardize how to do environment variable parsing & substitution #18307

Description

@karrtikr

There're two parts to this issue:

Parsing

We should probably always follow dotenv syntax:

Substitution

There are currently two ways of substituting variables in a .env file:

VAR2="value;${env:VAR1}"

and

VAR2="value;${VAR1}"

and a combination of both has to used to resolve all variables in different situations. However, this is not standard syntax. Again we should probably rely on the dotenv syntax always.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-debuggingarea-environmentsFeatures relating to handling interpreter environmentsbugIssue identified by VS Code Team member as probable bugmetaIssue that is tracking an overall projectneeds PRReady to be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions