KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

Dialyzer inspection: "The JDK is not configured properly for this project. Inspection cannot proceed." #3538

Open a8c71 opened 8 months ago

a8c71 commented 8 months ago

Thank you and the community so much for the great work!

Describe the bug When I try to run the inspections by name, both credo and dialyzer show me the inspection scope dialog, but after clicking OK an error pop ups for "The JDK is not configured properly for this project. Inspection cannot proceed." After clicking OK the dialog promts me for a JDK version, but my project is already setup for elixir.

To Reproduce Steps to reproduce the behavior:

  1. Go to inspections by name
  2. Type dialyzer and enter
  3. Click OK to start inspection
  4. See error

Expected behavior Errors reported by dialyzer are shown inline

Screenshots Screenshot 2024-02-07 at 12 04 36 Screenshot 2024-02-07 at 12 06 02 Screenshot 2024-02-07 at 12 06 17

Screenshot 2024-02-07 at 12 08 11

Logs If reporting a hang or other performance issue, please attach the thread dumps.

Desktop:

Erlang:

Elixir:

Plugin:

Additional context Add any other context about the problem here.

KronicDeth commented 8 months ago

sigh I'm guessing JetBrains changed something with the inspection API that it or one of them at least checks for the JDK specifically. I'll check with the plugin dev slack to see what changed.