You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to report the following issue. I have a central folder where all my projects are located, let's call it ~/projects, in this folder I have my .envrc file which was approved via direnv allow ., whenever I open a new vscode terminal from the ~/projects root folder the extension doesn't detect my .envrc. In attempt to troubleshoot this issue I added exec > >(tee "${HOME}/envrc.log") 2>&1 line at the top of my .envrc script, it seems it just wasn't kicking in when another terminal window has been opened, because the log file hasn't been created.
I have to step out of the folder and return back into it to be able to finally load it properly, like this:
Now the envrc.log has been created and my configuration has been changed according to my .envrc. I am activating custom virtualenv environment there as follows.
source"${HOME}/projects/.venv/bin/activate"|| { echo"Error: unable to activate virtualenv";exit 1; }
This is what I have in the vscode configuration file.
Hello,
I would like to report the following issue. I have a central folder where all my projects are located, let's call it
~/projects
, in this folder I have my.envrc
file which was approved viadirenv allow .
, whenever I open a new vscode terminal from the~/projects
root folder the extension doesn't detect my.envrc
. In attempt to troubleshoot this issue I addedexec > >(tee "${HOME}/envrc.log") 2>&1
line at the top of my.envrc
script, it seems it just wasn't kicking in when another terminal window has been opened, because the log file hasn't been created.I have to step out of the folder and return back into it to be able to finally load it properly, like this:
Now the
envrc.log
has been created and my configuration has been changed according to my.envrc
. I am activating custom virtualenv environment there as follows.This is what I have in the vscode configuration file.
The text was updated successfully, but these errors were encountered: