-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add feature to automatically pick .env file(s) from project_root directory #31
Comments
At the first glance this sounds as a cool idea but on a 2nd thought I'm wondering whether this is really a good thing to do. After all, there are too many questions and unclarity. What if there are several |
Any feedback on proposed workaround with run configuration templates? |
The common practice is to only load a file with the exact name |
Does the workaround proposed here works to enable the desired behavior #55 (comment) ? |
Yeah, it's more of a matter of defaults. |
It can be achieved using the IDE notification dialog. |
Thanks for the hint! I tried it (https://www.jetbrains.com/help/idea/run-debug-configuration.html#templates explains where to find the config) and it works very well. I especially like that (after you have figured out how to do it) it is very obvious which variables from which files are loaded where -- no automagic. :) |
Thanks for this awesome project, it solved a lot of issues with env management for me :).
I believe it would be awesome to add a feature (may be disabled by default) which when enabled make
EnvFile
to automatically load.env
file(s) fromproject_root
.So that we enable this feature and we don't need to add
.env
files in run configuration for each project we just place the.env
file inproject_root
and it will automatically be loaded.The text was updated successfully, but these errors were encountered: