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
Use direnv
environment
#4977
Comments
A few issues that almost every editor suffers from when implementing
Just something worth considering when designing the extension API and implementing this feature. |
Yep, the extension API must have support for this usecase to properly implement direnv integration. This is the reason why https://github.com/misuzu/direnv-subl is flawed - ST just doesn't have the necessary API. The direnv integration that just works would be The Feature that can ease the pain of setting up any project for many people. |
Another useful feature that I think a Also initializing direnv can take some time. For example if you use direnv to load a nix shell, it might actually start downloading packages or even compiling. So it might make sense to show some sort of indicator that direnv is still evaluating something. And a way to cancel it. |
Check for existing issues
Describe the feature
Zed should support direnv, to enable using a different environment (espeacially
$PATH
) for different projects. In combination with #4978 this would enable e.g. using different versions of language servers and tooling, or tooling just installed for the project instead of system-wide using Nix.If applicable, add mockups / screenshots to help present your vision of the feature
Inspiration from other editors:
The text was updated successfully, but these errors were encountered: