EnvFile icon indicating copy to clipboard operation
EnvFile copied to clipboard

Issues when using with IntelliJ 2023.1

Open ondrejfuhrer opened this issue 2 years ago • 19 comments
trafficstars

When updated to the latest version (2023.1) I have an issue with the plugin.

It seems to be not working properly (I get an error on missing env variables), however I also can't see any error anywhere. Anyone else experiencing this?

ondrejfuhrer avatar Mar 29 '23 09:03 ondrejfuhrer

Confirm. After the update to 2023.1, the values of variables in the file are ignored.

olegorsha avatar Apr 01 '23 11:04 olegorsha

In IntelliJ IDEA 2022.3.3 cannot find any place for configure plugin.

velykov avatar Apr 02 '23 06:04 velykov

Confirmed. Plugin version 3.4.1, IntelliJ IDEA Build #IU-223.8617.56, built on January 26, 2023

HWiese1980 avatar Apr 03 '23 13:04 HWiese1980

yeap....on intellij idea ultimate 23.1 the env file plugin is not loading the variables.

Amimul1234 avatar Apr 08 '23 06:04 Amimul1234

@ashald Could you please confirm looking into this? It's a critical bug in my opinion.

HWiese1980 avatar Apr 08 '23 08:04 HWiese1980

I'm not looking into this currently as I'm on vacation. Would welcome contributions though.

ashald avatar Apr 08 '23 09:04 ashald

I'm not looking into this currently as I'm on vacation. Would welcome contributions though.

Fine with me. Enjoy your trip!

So if anyone else got the time to, I'd be very happy 👍

HWiese1980 avatar Apr 10 '23 06:04 HWiese1980

Two weeks later, what's the status? Still on vacation, @ashald?

HWiese1980 avatar Apr 24 '23 08:04 HWiese1980

I would really appreciate a fix as this is the only plugin of its kind. I do not know how to write plugins for IntelliJ and it would take me a tremendous amount of time to get my head into it. Time that I do not have. I'd be really grateful if someone could fix this problem! It's a real shame that the plugin is currently not working at all.

HWiese1980 avatar May 06 '23 09:05 HWiese1980

@HWiese1980 i'm using latest version of IntelliJ IDEA 2023.1.1 (Ultimate Edition) Build #IU-231.8770.65, built on April 27, 2023, and working fine for me

Kavan72 avatar May 08 '23 09:05 Kavan72

Can confirm as well, works with Build #IU-231.8770.65, built on April 27, 2023.

cmeury avatar May 08 '23 14:05 cmeury

I can also confirm that the issue is only with the previous version. After upgrading to 2023.1.1 it seems to work as expected.

ondrejfuhrer avatar May 08 '23 20:05 ondrejfuhrer

I'll have to check.

HWiese1980 avatar May 09 '23 04:05 HWiese1980

Intellij Version 2023.1.1, Build #IC-231.8770.65 also works for me on trivial examples.

mrichards01 avatar May 11 '23 23:05 mrichards01

It works for me on any configuration I created in an older version, but it is still broken on PyCharm 2023.1.1 (Professional Edition) Build #PY-231.8770.66, built on April 27, 2023

Something tells me this is on JetBrains' side.

Chris-May avatar May 17 '23 15:05 Chris-May

The only way I could get IntelliJ 2023.1.2 (Ultimate) to recognize environment variables in my ~/.bashrc, was to set an environment variable to the $HOME/idea-IU-231.9011.34/bin folder. The from the terminal running nohup idea.sh > idea.log will use the environment variables ~/.bashrc for that session.

jbonfardeci avatar May 17 '23 19:05 jbonfardeci

I can confirm this works on PyCharm 2023.1.2 Professional for Linux (Zorin16) but the same PyCharm version is broken on a MacOS V13.4 M1 Apple Silicon. I'm using EnvFile 3.4.1 on both systems. update - My colleague is running the same versions on the same laptop and his is working so I must have a config issue somewhere.

DelboyJay avatar Jun 16 '23 09:06 DelboyJay

Confirm IntelliJ IDEA 2023.2.1 (Ultimate Edition) EnvFile 3.4.1 plugin fails to work with error message in popup.

vm137 avatar Aug 25 '23 06:08 vm137

In PyCharm 2023.2.3 I noticed that is was not working on an older project, but it did work on newer projects. To get it working on the older project, I had to close it, delete the .idea folder and create a new project. Before doing this, I tried removing and reinstalling the Plugin and restarting PyCharm. Nothing would get it work and I double and triple checked the configuration, disabled and enabled the plugin and created many new run configurations. Very frustrating, but I'm glad I found a workaround because this plugin is essential.

thezerobit avatar Oct 24 '23 00:10 thezerobit