Closed
Description
There are two main ways you can end up with HLS installed:
- You install it from a bindist or similar. This typically means you end up with several HLS binaries plus the wrapper.
- Your install it from Hackage or similar. This is more common for Nix users since they tend to have a project-specific setup that includes a specific GHC and HLS.
The problem at the moment is that you have to pick whether the extension will try to launch haskell-language-server-wrapper
or haskell-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.
Metadata
Metadata
Assignees
Labels
No labels