Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Implement a setting to allow defining a relative or absolute path to the Elixir install dir #446

Open
artman41 opened this issue Jan 11, 2025 · 1 comment

Comments

@artman41
Copy link

artman41 commented Jan 11, 2025

Could a setting be added to allow setting a relative or absolute path to the elixir libraries?

There is a change being made to Erlang.mk to allow use of elixir libraries and compiling of elixir code as part of an erlang library.
Part of the implementation pulls elixir down and compiles it as a build dependency of the project.

Because of this, the elixir libraries exist per project and are only compiled when deps are built

As it stands, elixir ls does not seem to work unless Elixir is exported on the path - ideally, it'd be nice to be able to do define a relative path to the elixir libraries so that the only thing required is to reload the vscode window

A similar feature is currently used by erlang ls as a config option in the erlang_ls.config file to define the otp path

@lukaszsamson
Copy link
Collaborator

Can you elaborate more on why per project elixir libs are needed. ElixirLS relies on elixir installation available on PATH in the current env or shim managed by asdf/mise/vfox version managers. It uses whatever is available or configured for the current project. Can you point to some documentation on erlang.mk side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants