ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
535 stars 126 forks source link

Feature request: Option to load as Java System properties #139

Open naveenkumarg-oss opened 3 years ago

naveenkumarg-oss commented 3 years ago

Plugin for Java project is loading values as System Environment Property, no issues with that. In workflows where initialization happens via call to System.getProperty(key), we need to fallback to Run configuration in IntelliJ. This fragments utility of the plugin. If an option can be considered under Enable EnvFile which will toggle loading .env as Java System properties, it increases use of this plugin in such workflow.

Plugin is otherwise useful, Thank You.

ashald commented 2 years ago

This goes beyond the initial intent of the plugin, thought I'd be curious to see a PR adding such functionality.