ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
535 stars 126 forks source link

Does not work in WSL2 #164

Closed lopes-gustavo closed 1 year ago

lopes-gustavo commented 2 years ago

If I have Goland installed in Windows and using my project under WSL, this plugin won't load the variables (maybe it will, but probably in another environment).

I don't know how to debug to provide more info, but I'm willing to do so if someone guide me through.

kato-m commented 2 years ago

I am on PyCharm 2021.3 (build #PY-213.5744.248) and experiencing the same issue.

davidmnoriega commented 2 years ago

Using IntelliJ Ultimate with a Run Target to tasks in wsl2 and also confirm they dont get any environment vars from EnvFile

Deliganli commented 2 years ago

IntelliJ Ultimate, 2021.3, WSL2 Ubuntu. Same issue

ArtemZip commented 2 years ago

Could not set the value of environment variable '=::': could not putenv() (errno 22: Invalid argument)

Claudio-code commented 2 years ago

IntelliJ Ultimate, 2022.1.2, WSL2 Debian same issue

nello commented 2 years ago

Trying to use this for Java in IntelliJ Ultimate 2022.1.2 it doesn't seem to do ... anything. No environment variables in my .env file are actually set in my run configuration, no matter what I do.

image

TP_FIREBASE_URL is pretty much the first variable set in my .env file.

image
ashald commented 1 year ago

Should be fixed in 3.4.1

PrinzEugen212 commented 1 year ago

Still don't working on Goland in WSL2 Ubuntu