This plugin adds direnv support to IntelliJ IDEs.
The plugin can be accessed via the Run Configuration settings. To enable it for a given Run Configuration, check the
Enable Direnv
checkbox. If you want it to automatically direnv allow
when updates to the .envrc file are detected,
check the Trust .direnv
checkbox. Note that this should only be done for trusted projects.
Currently supported Run Configurations:
- Java
- Go
- NodeJS
- Python
- PHP
- Ruby
Unfortunately, each run configuration type needs to be added manually. New run configuration support can be added by request.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for " intellij-better-direnv" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.