adelf / idea-php-dotenv-plugin

environment parameters completion, based on .env file keys
MIT License
166 stars 13 forks source link

Completion support for python os.getenv() #11

Closed ex-nerd closed 6 years ago

ex-nerd commented 6 years ago

os.getenv('VAR_NAME') is one of several ways to get at environment variables in python, but does not seem to be supported in the same way that os.environ.get('VAR_NAME') and others are.

adelf commented 6 years ago

Is there other standard ways? Just to implement all of them...

ex-nerd commented 6 years ago

There are a bunch of different ways in python to interact with the os.environ dictionary (just like any dictionary), but os.getenv() is the only other way I know of. This has as good a breakdown as anything else: https://stackoverflow.com/questions/4906977/access-environment-variables-from-python

adelf commented 6 years ago

implemented in 0.6