Don't export .env values into the global environment #24209
Labels
bug
Issue identified by VS Code Team member as probable bug
needs spike
Label for issues that need investigation before they can be worked on.
Currently the Python extension exports the .env values into the global environment. That feature caused my days of debugging this year, due to its interaction with the azd CLI (Azure/azure-dev#4384), and I had absolutely no expectation that such a feature would exist. I know that there is a way in settings to turn it off, but I think that it should be an opt-in feature since it can have such a confusing effect on the local environment.
I have not heard of any other language extensions having the same feature, either.
The text was updated successfully, but these errors were encountered: