-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
direnv: Environment updated. Restart extensions? #161
Comments
i'm sorry, i have no idea 😔 |
i managed to reproduce something like this, i think by opening a workspace where some variables get unset. will try to fix it now |
could you check if the extension built in https://github.com/direnv/direnv-vscode/actions/runs/3307828818 helps? |
Thanks for looking at this @mkhl. Trouble is this no longer seems as frequent as when I first opened this issue, so I'm struggling to reliably reproduce this on the current extension version. It does still happen though. Changes in #263 look good regardless though, will you be merging that/cutting a release? |
yes absolutely |
I get this error with direnv extension version 0.10.1 and code 1.71.2 on an m1 mac installed from https://code.visualstudio.com/ and the output says:
|
Okay it's not happening anymore after:
I'm not sure which of those things resolved the issue or why, but that's what I did. |
I've been suddenly getting a lot of pop-ups like these on my own install. Is there anything I can look into to see the root cause? |
There's a |
There's an option to automatically restart the extension
that might "fix the problem" (ie. make the dialog stop showing up), but it's got me wondering: why does the extension need to restart when it detects environment changes? |
many other extensions use the environment on activation. |
oh -- this is referring to restarting the VSCode extension host (not the |
With this extension installed, every time I start vscode, I get this:
If I press the "Restart" button, it just pops up again a second later.
I have direnv installed via Homebrew, but I do use asdf-direnv, perhaps that's loading it too fast causing this issue?
Any ideas? Here's my full shell setup.
The text was updated successfully, but these errors were encountered: