Skip to content

Clarify that .env files are not read when doing environment variable substitutions in settings for the Python extension #5413

Closed

Description

Found via microsoft/vscode-python#19275 (comment) . Essentially the confusion was thinking that something in a .env file could influence a setting, which it cannot.

Activity

  1. rjmolyneaux commented on Jul 13, 2022

    @rjmolyneaux
    Contributor

    Hey Brett Cannon (@brettcannon)! Can you shine your expertise to help me understand a little more? Does this note help or would you like me to work on the paragraphs above it? ☺️

    environment variables

  2. brettcannon commented on Jul 13, 2022

    @brettcannon
    MemberAuthor

    The confusion wasn't about environment variables in environment files as much as people thought environment variables from environment files would be available to use in settings. For instance, people wanted to use PYTHON_INSTALL_LOC as defined in a .env file, but we don't support that.

  3. rjmolyneaux commented on Jul 21, 2022

    @rjmolyneaux
    Contributor

    Thank you for the clarification Brett Cannon (@brettcannon)! I merged 5477 for this issue.

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

Metadata

Metadata

Labels

doc-bugout of date, inaccurate, confusing contentpython

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions