idea-php-dotenv-plugin icon indicating copy to clipboard operation
idea-php-dotenv-plugin copied to clipboard

Support popular python library django-environ

Open Bensge opened this issue 3 years ago • 0 comments

It would be cool if this plugin supported django-environ, a popular library from PyPi. The most notable difference is the API call to get a variable from a .env file: Instead of os.environ.get(), one uses env('VAR_NAME'), where env is an instance of the class environ.Env .

See the example usage of the package here.

I think a small addition to PythonPsiHelper.java is all that is needed to make it work. I unfortunately don't have the setup to build and run IDE plugins, so I can't do it myself.

Bensge avatar Dec 07 '22 17:12 Bensge