BredoGen / ProjectEnv

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Request] Ability to expose environment variables in Run configuration

iksaku opened this issue · comments

Currently using Webstorm and the plugin works like a charm exporting env variables to the terminal.

I would like to know if it is possible to expose env variables in Run configurations.

This would help me keep using my muscle memory (Ctrl+Option+R) to run pre-configured yarn/npm scripts instead of always relying on the terminal to run them if I need .env exposition.

Thanks!

Thank you for using the plugin.

I'll take a look into this (webstorm run configurations support) during the planned refactoring.

Found it also not work in webstorm terminal

@iksaku
Thank you for reporting!

Unfortunately there is no plugin extension point in Webstorm to patch run configuration env values. Hope it will be added someday.

@calmzhu
Have you tried to restart terminal tab after adding env file?
It's required step to make it work.