http://www.perlmonks.org?node_id=1198791

When I went to eclipse.org to see if the latest major release was ready (it is, I'm late, as usual), I discovered something called "Language Server Protocol". Eclipse Oxygen supports it. Several other editiors/IDEs supposedly already support it.

The idea is that instead of each editor/IDE needing a plug-in for each additional language some one wants to support, each editor/IDE gets a LSP client plug-in and each language gets a LSP server.

I did some searching, but didn't find project creating a LSP server for Perl. Still, I think it would be a way to help get better support for Perl into the editors and IDEs that people want to use.

So, sisters and brothers, what do you think? would you be willing to contribute (and how)?

Thank you for your thoughts.

Replies are listed 'Best First'.
Re: RFC: LSP for Perl
by zakame (Monk) on Sep 07, 2017 at 06:52 UTC

    Yep, this is something on my radar too for a while now. FWIW there's already plsense (albeit haven't seen changes to it in a while,) so maybe a first shot at LSP would be to make plsense talk LSP?

    I've added an issue to the plsense GitHub to try get things going.

      Is it really that simple?

      From my understanding does plsense.el rely heavily on cperl.el, at least for parsing the language.

      It's not clear for me how LSP expects this to be done, if it's really a "Server" then you'd need an external parsing entity, like PPI.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

      Thanks.

      Looks like it could be a good starting point.

Re: RFC: LSP for Perl
by etj (Sexton) on Dec 26, 2017 at 00:04 UTC

      Thanks. Looks like a decent start on a Language Server for Perl 5.