-
Notifications
You must be signed in to change notification settings - Fork 196
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
Make wrapper script more robust... more robustly #473
Conversation
We would need a similar change in debugger.sh |
Hmmm... Are you still interested in this change? #467 offers an alternative to solve this issue. The specific use-case of using a symlink (as addressed in this PR) still wouldn't work but alternatively the |
@jtrees I think it would be nice to include, although I'm not sure how common using a symlink like this is. But I would generally expect a symlink to work so it would be nice to support it. |
This makes a setup possible in which a symlink points to the file (e.g. /usr/local/bin/elixir-ls -> /opt/elixir-ls/language_server.sh). It's a rehash of a previous commit that was reverted since it broke setups where the language server was installed in a path containing spaces (e.g. /opt/Elixir Language Server/). This variant takes that possibility into account.
I'm not really sure what could lead this to happen. Maybe some weird directory permissions with the read bit on and the exec bit off... Still good to be careful though. Co-authored-by: Łukasz Samson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ Thanks for fixing this up 👍
* Add changelog test to verify that the changelog is correctly linked * Update changelog * Add #497 * Specify that the fuzzy completion is only for functions * Fix formatting * update changelog for #505 * Update changelog for #501, #473, and #504 * Update changelog for #507 and vscode #176 * Update changelog for #511 * Update changelog for #492
This makes a setup possible in which a symlink points to the file (e.g. /usr/local/bin/elixir-ls -> /opt/elixir-ls/language_server.sh).
It's a rehash of a previous PR (#445) that was reverted since it broke setups where the language server was installed in a path containing spaces (e.g. /opt/Elixir Language Server/). This variant takes that possibility into account.
Hopefully, this fixes #470.