Closed July541 closed 1 year ago
Okay, so what's going on here? Presumably we're being sent a $/setTrace
notification by the client, and we don't have a handler for it. This is fine: there is no capability for these methods, you're just allowed to ignore such calls if you want. Probably lsp
is being too picky about them.
I'm not sure what changed here, though.
Looks like https://github.com/haskell/lsp/blob/master/lsp/src/Language/LSP/Server/Processing.hs#L409 is supposed to handle it but isn't.
I think those methods used to be custom methods but now aren't, hence that has stopped working. Might need a bit of fiddling to make it work nicely.
https://github.com/haskell/lsp/blob/master/lsp/src/Language/LSP/Server/Processing.hs#L409
Something is wrong here, we just need to handle them correctly.
working on it
After upgrading to HLS shipped with lsp-2.0, I often see this.
I've checked the log but haven't found any info.