env_var() in profiles.yml not retrieving objects in .env, using vscode on windows

The problem I’m having

env_var() not recognizing variables defined in .env file

The context of why I’m trying to do this

What I’ve already tried

in .env i defined a variable

MY_VAR=my.value

in .vscode/settings.json:

“files.associations”: {
“.env”: “.env”, …

in profiles.yml, i unsuccessfully reference the variable in .env

{{ env_var(‘MY_VAR’) }}

Some example code or error messages