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

How to provide startup flags to ElixirLS.LanguageServer.CLI.main() #151

Closed
ghost opened this issue Nov 10, 2020 · 2 comments
Closed

How to provide startup flags to ElixirLS.LanguageServer.CLI.main() #151

ghost opened this issue Nov 10, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 10, 2020

👋

How would one provide language server startup flags similar to elixir-lsp/elixir-ls#96 but in vscode instead of vim?

@axelson
Copy link
Member

axelson commented Nov 12, 2020

Hi @syfgkjasdkn

Edit: sent this early by accident. You can either use the local setup instructions to set an environment variable (although I don't know what env var it is off the top of my head, although I think one exists): https://github.com/elixir-lsp/elixir-ls/tree/51791ef309d82af130434779f4dd1960911acec2#local-setup

Or you can edit the launch script in the same way that is mentioned in that issue. The path will be something like this: ~/.vscode/extensions/jakebecker.elixir-ls-0.6.1/elixir-ls-release/launch.sh. However, you will have to redo your changes on each extension update.

@ghost
Copy link
Author

ghost commented Nov 13, 2020

Thank you! I'll go with the second approach for now.

@ghost ghost closed this as completed Nov 13, 2020
This issue was closed.
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

1 participant