vscode-haskell icon indicating copy to clipboard operation
vscode-haskell copied to clipboard

HLS will not update to latest if have local in PATH

Open soiamsoNG opened this issue 4 years ago • 3 comments

HLS will not update to latest if have local in PATH

if we could prompt and let user to select the behavior

soiamsoNG avatar Sep 16 '21 07:09 soiamsoNG

hi, thanks for the suggestion. I think it would be disturbing for users wanting to use an older version of hls in PATH being prompted to install the new one. So it should be a configuration option, maybe preserving the actual behaviour as default.

jneira avatar Sep 19 '21 20:09 jneira

Sorry mistake close, I will write a PR, because keep-up-to-date behavior, ignore when have HLS in local PATH (even Server Executable Path not set)

soiamsoNG avatar Sep 20 '21 05:09 soiamsoNG

hmm thanks, but you have to consider the extension prefers the executable in PATH over the downloaded ones

jneira avatar Sep 20 '21 06:09 jneira

irrelevant now, HLS binaries are managed by ghcup now

fendor avatar Dec 05 '22 09:12 fendor