KronicDeth / intellij-elixir

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

Can not set SDK for ErLang and Elixir SDK from WSL #3470

Open formingform opened 9 months ago

formingform commented 9 months ago

Describe the bug

evn:

IDEA 2023.2.5, installed to Windows 11 Erlang installed by asdf to Ubutunto 22.04 ( in WSL2) Elixir installed by asdf to Ubutunto 22.04 ( in WSL2)

I tried to set Erlang SDK for Elixir SDK, and select this path: \wsl$\Ubuntu-22.04\home\joey.asdf\installs\erlang\25.3.2.7

But it failed and IDEA prompted: The selected directory is not valid home for Erlang SDK for Elixir SDK

Expected behavior

intellij-elixir can accessing WSL files from Windows.

Desktop:

Erlang:

Elixir:

Plugin:

Eoic commented 9 months ago

I don't have a solution for your problem, but how do you select SDK path at all? I get an error that I am missing "Elixir SDK" and yet I cannot find any options configure one.

KronicDeth commented 9 months ago

@Eoic there are instructions in the README about configuring your SDK

formingform commented 9 months ago

I don't have a solution for your problem, but how do you select SDK path at all? I get an error that I am missing "Elixir SDK" and yet I cannot find any options configure one.

IDEA - Project Structure - Platform Settings - SDKs +