-
Notifications
You must be signed in to change notification settings - Fork 754
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 support #453
Comments
@AlekSi I think this is beyond the scope of this extension's function. This extension inherits all the environment variables from the vscode. So, make sure the vscode understands the |
I wonder why those settings are in scope then:
I always do that, but I also never saw VSCode inherit environment variables from the shell. And to be honest, I would consider that behavior to be a bug. What can solve this ticket relatively easier is an ability to start |
@AlekSi The If VS Code fails to inherit environment variables from the shell, that's a bug of VS Code. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
https://direnv.net is a popular tool for setting per-directory or per-project environment variables. Currently, the Go plugin is not compatible with it. More specifically, there is no way to use
.envrc
-exported environment variables in Go tests:key=value
format, while.envrc
requires one to useexport key=value
.The text was updated successfully, but these errors were encountered: