Description
@DonJayamanne asked me to file this from the discussion in #944
I don't know if or how it works, I don't know if I can or how to refer to other variables inside .env (e.g. Does PYTHONPATH=${PYTHONPATH}:${workspaceFolder}/utility work?), etc.
Basically, it would make sense to me to want to do the above -- add workspace-relative paths to PYTHONPATH
. It requires recursively using the existing value in PYTHONPATH
as well as resolving the workspace folder.
In my use case, this is for convenience. The actual code runs in a docker container, which has it's PYTHONPATH
set appropriately for it. I need VSCode to know about that so it doesn't show me quasi-existent import errors.
Maybe this is already supported, but I did it wrong. Maybe this is not supported, in which case this is a feature request. Either way, I can't tell!