I would like to use the Perl Language Server in Kate. I have Debian Sid installed on my computer.
First, I installed the Perl Language Server from the package sources. At the time, this was the libperl-languageserver-perl package, version 2.6.2-1.
In Kate, I activated the following extensions:
-
LSP Client
-
Kate Debugger
-
Symbol Viewer
-
Project Plugin
The language server seems to be integrated, because I see the following output when I load a Perl script:
[22:35:21  LSP-Client Protokoll] Server perl@/home/orinoco gestartet: /usr/bin/perl -MPerl::LanguageServer -e Perl::LanguageServer::run --
[22:35:22  LSP-Server Protokoll] perl@/home/orinoco
LS: apply_all_roles (Perl::LanguageServer=HASH(0x55b7a39b5a88), Perl::LanguageServer::Methods, Perl/LanguageServer/Methods.pm)
[22:35:22  LSP-Server Protokoll] perl@/home/orinoco
LS: apply_all_roles (Moose::Meta::Class::ANON::SERIAL::1=HASH(0x55b7a39b5a88), Perl::LanguageServer::Methods::textDocument, Perl/LanguageServer/Methods/textDocument.pm)
[22:35:22  LSP-Server Protokoll] perl@/home/orinoco
LS: ERROR: Unknown perlmethod _rpcreq_documentHighlight at /usr/share/perl5/Perl/LanguageServer.pm line 224.
[22:35:51  LSP-Server Protokoll] perl@/home/orinoco
LS: ERROR: Unknown perlmethod _rpcreq_documentHighlight at /usr/share/perl5/Perl/LanguageServer.pm line 224.
When I start the debugger in Kate, the debugger controls are displayed. When I press F10 for single-step, nothing happens. There is no error message either. Only the stop button works. The debugger is then terminated.
I am now wondering whether I need to configure something else or whether the Perl Language Server is not compatible with Kate.
Does anyone know more about this and can give me some helpful tips?