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

Configure where to store the downloaded and compiled LS #3

Closed
NobbZ opened this issue Jan 19, 2019 · 5 comments
Closed

Configure where to store the downloaded and compiled LS #3

NobbZ opened this issue Jan 19, 2019 · 5 comments

Comments

@NobbZ
Copy link
Member

NobbZ commented Jan 19, 2019

Let the user choose where the LS sources and binaries should be stored and whether or not they should be managed by this plugin or something else (which would deactivate auto update as described in #2).

@lukaszsamson
Copy link
Collaborator

What would be the benefit?

@NobbZ
Copy link
Member Author

NobbZ commented Oct 1, 2020

When I wrote this, I had to use different versions of the LS for different projects, or at least same version compiled with different erlangs/elixir combinations.

If I had been able to configure each version for each project it would had helped me a lot.

Also it would make testing self-made changes to the LSP itself easier if one could just change the PATH, instead of having to actually start VScode in development mode with an ElixirLS plugin that has been edited to use the local version of the LSP.

Though as I said in #1 and #2, I'm not using VScode anymore and therefore those issues are not relevant for me. I'm just trying to point out why I have created them initially.

@DragosMocrii
Copy link

@NobbZ what do you use in place of VSCode?

@NobbZ
Copy link
Member Author

NobbZ commented Nov 20, 2020

Emacs with lsp-mode, it just searches for the binary in PATH, so I make sure via an .envrc that the correct version of elixir LS is in PATH first.

@lukaszsamson
Copy link
Collaborator

Obsoleted by #317. You can now use MIX_INSTALL_DIR to tell mix to store packages in a different directory. Refer to Mix.install docks

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

3 participants