-
Notifications
You must be signed in to change notification settings - Fork 90
Allow a list of paths to try for the HLS binary, include haskell-language-server
by default.
#845
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
Comments
I'm not sure I understand. The default is empty: Lines 140 to 145 in 1438106
And for good reason. I don't see why a user would want to explicitly set |
Perhaps I have misunderstood. Do we already look for both |
Yes. vscode-haskell/src/hlsBinaries.ts Lines 149 to 163 in 1438106
|
Alright, looks like I'm out of date! |
There are two main ways you can end up with HLS installed:
The problem at the moment is that you have to pick whether the extension will try to launch
haskell-language-server-wrapper
orhaskell-language-server
. The most important effect of this is that we can't provide a default config that works for both methods 1 and 2.Here's a proposal to fix this: make
serverExectuablePath
into list of strings, try those executables in priority order. Then we can make the default value["haskell-language-server-wrapper", "haskell-language-server"]
, which I think would make everyone happy.The text was updated successfully, but these errors were encountered: