Martin Kühl
Martin Kühl
Darn. That does look like a bug in vscode itself though, could you open another issue there? (Make sure you open with the `Cannot find module 'vscode'` bit if you...
> Is direnv the first extension to start or can that be guaranteed in any way so that the environment variables are loaded before any other extension? It cannot be...
i'm sorry, i have no idea :pensive:
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?
> Changes in #263 look good regardless though, will you be merging that/cutting a release? yes absolutely
There's a `direnv` output you can look at (the "Output" tab in the bottom panel, then select "direnv" from the dropdown on the right), it logs which variables are getting...
> why does the extension need to restart when it detects environment changes? many other extensions use the environment on activation. restarting the extension host gives us a chance to...
This is an interesting idea, thanks! I don't think vscode has API to determine whether we are (still) starting up (also see below) so we'd have to modify the load...
How are you determining that the .envrc isn't loaded?