/ProjectEnv

ProjectEnv plugin provides settings to configure project-wide .env (dotenv), json/yaml files in PyCharm / IDEA / GoLand / etc.

Primary LanguageKotlin

ProjectEnv

Build Version Downloads

ProjectEnv plugin provides settings to configure project-wide .env (dotenv)/json/yaml files. Environment variables will be applied to:

  • Terminal in all IDEA-based products (tested on Linux, macOS)

Run Configuration support:

  • Python Run Configurations, Python / Django Console
  • Java Run Configurations (IDEA)
  • Go Run Configurations (GoLand)

GitHub

Settings

Env Files tool window > Add your .env/json/yaml files

For JSON/Yaml files only String:String maps are currently supported.

You can also toggle plugin features: Env Files tool window > ⚙️:

  • Enable in Terminal (requires terminal restart)
  • Enable in Run Configurations
  • Also Enable in Test Run Configurations (special thanks to lirikooda)

Credits

Source code mostly based on FileEnv plugin by Borys Pierov. Special thanks for his great work.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "ProjectEnv" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


WARNING: I'm not a Java/Kotlin developer. The plugin purpose is to solve my own inconvenience while working with 12factor apps in PyCharm.

Plugin based on the IntelliJ Platform Plugin Template.