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 .
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.
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 ofos.environ.get()
, one usesenv('VAR_NAME')
, whereenv
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.