intellij-elixir icon indicating copy to clipboard operation
intellij-elixir copied to clipboard

Can not set SDK for ErLang and Elixir SDK from WSL

Open formingform opened this issue 2 years ago • 3 comments

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:

  • OS: Windows 11 with WSL2
  • Ubuntu 22.04 installed with WSL2

Erlang:

  • Installer: asdf
  • Version: 25.3.2.7

Elixir:

  • Installer: asdf
  • Version: 1.14.5-otp-25

Plugin:

  • Version: 16.0.0

formingform avatar Dec 04 '23 09:12 formingform

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.

Eoic avatar Dec 05 '23 18:12 Eoic

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 +

formingform avatar Dec 06 '23 01:12 formingform