haskell-language-server icon indicating copy to clipboard operation
haskell-language-server copied to clipboard

Fails to provide HLS functionality

Open mouse07410 opened this issue 3 years ago • 4 comments

Your environment

  • Which OS do you use? MacOS Monterey 12.6
  • Which version of GHC do you use and how did you install it? GHC-9.2.4 and 9.4.2, installed via ghcup
  • How is your project built? via Cabal-3.8.1.0, but it’s irrelevant here, I think.
  • Which LSP client (editor/plugin) do you use? VS Code 1.72.1 + vscode-haskell 2.2.1
  • Which version of HLS do you use and how did you install it? 1.8.0.0 from ghcup

What's wrong?

Does not give documentation popup, code completion, suggestions, etc. Looks like HLS does not talk to VS Code plug-in.

I can’t figure out why, especially since it used to work just fine with Monterey 12.5.1, HLS built from GitHub master via ghcup, and VS Code 1.72.

mouse07410 avatar Sep 16 '22 02:09 mouse07410

Logs please?

pepeiborra avatar Sep 16 '22 10:09 pepeiborra

Logs please?

How do I get them? I'd love to send them over.

mouse07410 avatar Sep 16 '22 20:09 mouse07410

Have you read the troubleshooting page in the documentation?

michaelpj avatar Sep 17 '22 11:09 michaelpj

Have you read the troubleshooting page in the documentation?

Shame on me - I did not. Going through it now. Will report.

In the meanwhile - since several of useful plugin (hlint, formoulu, floskell, etc) are not supported for 9.4, would it make sense for me to replace 1.8.0.0 release (for 9.4.2) with a local build from master? Assuming that support for at least some plugins that did not make it to 1.8.0.0, might be present in the master?

mouse07410 avatar Sep 18 '22 03:09 mouse07410