fehnomenal / intellij-direnv

direnv integration for JetBrains IDEs
MIT License
69 stars 22 forks source link

0.2.7 seems to doesn't work on 2022.3.3 and 2023.1 #38

Closed wadouk closed 1 year ago

wadouk commented 1 year ago

Tried with 2022.3.3 and 2023.1

The direnv not loaded without error messages, just the variables are not here

sh41 commented 1 year ago

It works for me with on this version on WSL2:

IntelliJ IDEA 2023.1.1 (Ultimate Edition)
Build #IU-231.8770.65, built on April 27, 2023
<snip>
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.90.1-microsoft-standard-wsl2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8

But does not work on this version on MacOS 12.6:

IntelliJ IDEA 2023.1.1 (Community Edition)
Build #IC-231.8770.65, built on April 27, 2023
Runtime version: 17.0.6+10-b829.9 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.6
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON

@wadouk what version of IntelliJ are you using?

wadouk commented 1 year ago

KO on

Build #IU-223.8836.41, built on March 10, 2023
Runtime version: 17.0.6+1-b653.34 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.108-1-manjaro
GC: G1 Young Generation, G1 Old Generation
Memory: 1262M
Cores: 12
Registry:
    scala.erase.compiler.process.jdk.once=false
    ide.images.show.chessboard=true

Non-Bundled Plugins:
    org.elm.klazuka (4.4.1)
    systems.fehn.intellijdirenv (0.2.6)
    ir.msdehghan.plugins.ansible (0.92)
    de.achimonline.ansible_lint (1.4.1)
    String Manipulation (9.7.1)
    org.jetbrains.kotlin (223-1.8.20-release-327-IJ8836.35)
    PlantUML integration (5.23.0)
    org.intellij.scala (2022.3.984)
    com.fapiko.jetbrains.plugins.better_direnv (1.1.0)
    mobi.hsz.idea.gitignore (4.4.4)

Kotlin: 223-1.8.20-release-327-IJ8836.35
Current Desktop: XFCE

(i know it's 0.2.6 and all work just retry and have to launch my node program in bash too)

IntelliJ IDEA 2023.1.1 (Ultimate Edition)
Build #IU-231.8770.65, built on April 27, 2023
Licensed to Nicolas Bétheuil
Subscription is active until January 21, 2024.
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.108-1-manjaro
GC: G1 Young Generation, G1 Old Generation
Memory: 750M
Cores: 12
Registry:
    ide.images.show.chessboard=true

Non-Bundled Plugins:
    systems.fehn.intellijdirenv (0.2.7)

Kotlin: 231-1.8.21-IJ8770.65
Current Desktop: XFCE

But it's very strange : Envrc variables are visible in the runner, dump env variable in subprocess is OK but the PG connection doesn't seen to be connected.

running in pure bash is OK.

And viewing the diff between 0.2.6 and 0.2.7 should not break anything.

have to dig more. will re-open the case if I have more info.