Closed DanielRosenwasser closed 3 months ago
Compounded with the behavior of dotenv described at https://github.com/microsoft/vscode-python/issues/22982, this causes all sorts of unexpected behavior. I couldn't tell where my environment variables were being set within a Codespace and was banging my head against this before I opened up https://github.com/microsoft/TypeChat/pull/211.
This is actually an issue on VS Code: https://github.com/microsoft/vscode/issues/197603, closing as duplicate. We encourage you interact with that issue to raise priority.
With https://github.com/microsoft/vscode/pull/207889, this will be fixed in the March 2024 release of VS Code.
Thanks!
It appears that the contents of variables loaded from
.env
(orenvFile
) are incorrectly set if they contain an=
within the value.To repro this, add the following
.env
file to the top level of a workspace.Then create a new terminal and run the following commands
Current Behavior
Expected Behavior