Repository: vscode
Issue: Valor de variáveis de ambiente (.env) atualizam apenas ao fechar o vs code
Labels: info-needed,translation-required-portuguese-brazil,triage-needed


Type: <b>Bug</b>

Depois de atualizar o vs code para a versão lançada no dia 19/12/2024 (1.96), o mesmo passou a apresentar problemas em variáveis de ambiente atualizadas no meu projeto.

Exemplo: Atualizei uma variável de True para False. No entanto, o sistema continuava inicializando essa variável como True. Apenas ao fechar o vs code e abrir novamente, o sistema passou a identificar o valor atualizado da variável. Isso segue acontecendo para qualquer alteração que faço.

Testado pelo menos 10 vezes.


Criar variável de ambiente booleana com valor True
Printar o valor da variável
Alterar o valor para False
Printar o valor da variável (Continuará como True)
Fechar o vs code a abrir novamente
Printar o valor da variável (Agora será False)

VS Code version: Code 1.96.1 (42b266171e51a016313f47d0c48aca9295b9cbb2, 2024-12-17T17:50:05.206Z)
OS version: Linux x64 6.8.0-49-generic snap
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|13th Gen Intel(R) Core(TM) i7-1355U (12 x 4008)|
|GPU Status|2d_canvas: unavailable_software<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: disabled_software<br>multiple_raster_threads: enabled_on<br>opengl: disabled_off<br>rasterization: disabled_software<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: disabled_software<br>video_encode: disabled_software<br>vulkan: disabled_off<br>webgl: unavailable_software<br>webgl2: unavailable_software<br>webgpu: disabled_off<br>webnn: unavailable_software|
|Load (avg)|5, 5, 4|
|Memory (System)|15.31GB (7.29GB free)|
|Process Argv|--no-sandbox --force-user-env --crash-reporter-id 5fa2d761-1817-41d3-b1d1-33fbb4c5f66a|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|ubuntu|
|XDG_CURRENT_DESKTOP|Unity|
|XDG_SESSION_DESKTOP|ubuntu|
|XDG_SESSION_TYPE|wayland|
</details><details><summary>Extensions (35)</summary>

Extension|Author (truncated)|Version
---|---|---
project-manager|ale|12.8.0
cucumberautocomplete|ale|3.0.5
python-environment-manager|don|1.2.4
es7-react-js-snippets|dsz|4.4.3
gitlens|eam|16.0.5
prettier-vscode|esb|11.0.0
code-runner|for|0.12.2
todo-tree|Gru|0.0.226
csharpextensions|kre|1.7.3
vscode-docker|ms-|1.29.3
vscode-language-pack-pt-BR|MS-|1.96.2024121109
csdevkit|ms-|1.14.14
csharp|ms-|2.60.26
vscode-dotnet-runtime|ms-|2.2.3
vscodeintellicode-csharp|ms-|2.2.3
python|ms-|2024.22.0
vscode-pylance|ms-|2024.12.1
cpptools|ms-|1.22.11
live-server|ms-|0.4.15
material-icon-theme|PKi|5.16.0
java|red|1.37.0
LiveServer|rit|5.7.9
vscode-coverage-gutters|rya|2.12.0
intellicode-api-usage-examples|Vis|0.2.9
vscodeintellicode|Vis|1.3.2
vscode-boot-dev-pack|vmw|0.2.1
vscode-spring-boot|vmw|1.59.0
vscode-gradle|vsc|3.16.4
vscode-java-debug|vsc|0.58.1
vscode-java-dependency|vsc|0.24.1
vscode-java-pack|vsc|0.29.0
vscode-java-test|vsc|0.43.0
vscode-maven|vsc|0.44.0
vscode-spring-boot-dashboard|vsc|0.14.0
vscode-spring-initializr|vsc|0.11.2


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

```

</details>

<!-- generated by issue reporter -->