haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.71k stars 367 forks source link

issues with CompletionItemResolve #4451

Open bwkam opened 20 hours ago

bwkam commented 20 hours ago

Your environment

Which OS do you use? NixOS

Which version of GHC do you use and how did you install it? 9.6.6, with nix

How is your project built (alternative: link to the project)?

Which LSP client (editor/plugin) do you use? emacs+lsp-mode Which version of HLS do you use and how did you install it? 2.9.0.0, using nix Have you configured HLS in any way (especially: a hie.yaml file)? No

What's wrong?

some error about SMethod_CompletionItemResolve keeps popping up as I type anything in the buffer the error is not an emacs problem too, same behavior occurs on vscode (I just tested) (see below)

Debug information

Error processing message (error "No plugins are available to handle this SMethod_CompletionItemResolve request.
 Plugins installed for this method, but not available to handle this request are:
ghcide-completions does not handle resolve requests for (unable to determine resolve owner)).").
fendor commented 6 hours ago

Thank you for the bug report!

I can not reproduce on arch linux with HLS 2.9.0.1 installed via ghcup. However, I can reproduce the issue with a nixpkgs installed HLS binary.

I am able to reproduce the issue using a nixpkgs installed HLS binary as well as on arch linux with HLS 2.9.0.1 ghc 9.6.6.