Closed siegel closed 3 years ago
The problem is that LanguageServer expects params
and don't get any. I will fix this. For the time being you can send an empty params object.
OK, great, thanks. The same fix will probably be useful for exit
.
It's fixed as part of the commit 6c04cf1b9f645e57825a402de9d6871918ceb42f
Confirmed, pulled HEAD
and verified.
I'm finding that when my client (which I'm writing) sends a
shutdown
request to the Perl-LanguageServer, the server appears to terminate immediately rather than returning a suitable response. This breaks clients who follow the LSP specification and wait for the server to return a response toshutdown
before sending anexit
request.Platform: macOS 10.15.7 Perl v5.32.1 installed via
brew install perl
Perl-LanguageServer v2.2.0Here is an excerpt from the log (with level 2):
At this point the server process terminates, leaving the client hanging.
I will be happy to provide additional log data, if that would be helpful.