Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variables aren't loaded in IDEA #27

Closed
yoanthiebault opened this issue Mar 8, 2017 · 2 comments · Fixed by #28
Closed

Environment variables aren't loaded in IDEA #27

yoanthiebault opened this issue Mar 8, 2017 · 2 comments · Fixed by #28
Assignees
Labels

Comments

@yoanthiebault
Copy link
Contributor

yoanthiebault commented Mar 8, 2017

Hi,

First of all, thank you for this nice plugin !

I installed it but it didn't load the environment variables with IntelliJ IDEA Community Edition 2016.3.5. For information:

  • Here is the run configuration: settings
  • The .env file just contains FOO=BAR
  • System.getenv().containsKey("FOO") returns false

Could you please tell me if I missed something ?

Yoan

@yoanthiebault yoanthiebault changed the title Environment variables aren't loaded Environment variables aren't loaded in IDEA Mar 8, 2017
@ajaxon
Copy link

ajaxon commented Mar 8, 2017

I just tried using the plugin with IntelliJ IDEA 2016.2.5 and mine are not loading either.

@yoanthiebault yoanthiebault reopened this Mar 10, 2017
yoanthiebault added a commit to yoanthiebault/EnvFile that referenced this issue Mar 10, 2017
@ashald
Copy link
Owner

ashald commented Mar 11, 2017

Looks like a bug. @yoanthiebault opened a PR #28 which looks good so once it's merged I'll release a new version.

@ashald ashald self-assigned this Mar 11, 2017
@ashald ashald added the bug label Mar 11, 2017
@ashald ashald added this to the 2.0.1 milestone Mar 11, 2017
ashald pushed a commit that referenced this issue Mar 14, 2017
* Fixed #27

* Refactor
ashald pushed a commit that referenced this issue Nov 21, 2018
* Fixed #27

* Refactor

* Supports IntelliJ PathMacro like $PROJECT_DIR$

* Revert "Supports IntelliJ PathMacro like $PROJECT_DIR$"

This reverts commit bd9c7b7

* Supports JetBrains path macro: Refactor + made it optional

* Path macro support is disabled by default

* Updated authors.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants