Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RFC: LSP for Perl

by RonW (Vicar)
on Sep 07, 2017 at 00:30 UTC ( #1198791=perlmeditation: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://1198791]
Approved by kcott
Front-paged by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2018-07-18 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (393 votes). Check out past polls.

    Notices?