KronicDeth / intellij-elixir

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

Can't set up SDK #3659

Open quetsalkoatl opened 5 days ago

quetsalkoatl commented 5 days ago

Describe the bug I'm new to Elixir and Erlang and tried to set up the SDK in the IntelliJ plugin but wasn't able to do so. No matter what I try I get the error "Internal Erlang SDK is not in Elixir SDK. Set it before picking this Elixir SDK". And I'm pretty sure I set up the Erlang SDK before picking the Elixir SDK.

I'm on Windows 10 and installed both Erlang and Elixir through the Windows installer in D:\Programs...

I'm probably doing something wrong here but I couldn't find another way to get support.

To Reproduce Steps to reproduce the behavior:

  1. Install Erlang and Elixir with Windows installer
  2. Setup new Elixir project in IntelliJ
  3. Setup new Erlang and Elixir SDK as asked by pop-ups
  4. Choose SDK
  5. Click Create

Expected behavior I should be able to create an Elixir project after setting up and choosing Elixir SDK.

Screenshots image image image image

Logs none

Desktop:

Erlang:

Elixir:

Plugin:

quetsalkoatl commented 5 days ago

I was able to get it working by setting up the Elixir SDK through the "Project Structure" dialogue on another (non-Elixir) project. Then I could choose the SDK in the "New Project" dialogue without the error. But I still think this is a bug.

I also figured out that "elixir-tut" is not a valid app name so I changed it to "elixir_tut". Is it possible that that caused the issue and it just displayed the wrong error?