weedz / vscode-perl-language-server

MIT License
3 stars 0 forks source link

Looking for maintainer #2

Open weedz opened 1 year ago

weedz commented 1 year ago

I am no longer able to maintain or update this project.

If you are interested in taking ownership, please reply to this issue.

bscan commented 1 year ago

Hi @weedz , I am not able to maintain this project specifically, but I'd love to collaborate if you're interested. I'm the maintainer of the Perl Navigator https://github.com/bscan/PerlNavigator/ , another vscode extension for perl. The Navigator actually contains two different language servers: one is half typescript and half perl, and the other language server is a web-extension (i.e. for github.dev) that's written entirely in typescript. I believe both of our projects were originally forked from the lsp-sample by Microsoft. Since the architecture is similar, I'm sure the Navigator could leverage a substantial amount of code from your work.

A number of the features you have developed would be very useful and are not yet supported in the Navigator, such as the perl built-ins and the signature support. I'm sure it would be a decent amount of work to merge our work, so I also totally understand if you're not interested. The upside would be that I'm happy to maintain the resulting output. Thanks!

weedz commented 1 year ago

Hi @weedz , I am not able to maintain this project specifically, but I'd love to collaborate if you're interested. I'm the maintainer of the Perl Navigator https://github.com/bscan/PerlNavigator/ , another vscode extension for perl. The Navigator actually contains two different language servers: one is half typescript and half perl, and the other language server is a web-extension (i.e. for github.dev) that's written entirely in typescript. I believe both of our projects were originally forked from the lsp-sample by Microsoft. Since the architecture is similar, I'm sure the Navigator could leverage a substantial amount of code from your work.

A number of the features you have developed would be very useful and are not yet supported in the Navigator, such as the perl built-ins and the signature support. I'm sure it would be a decent amount of work to merge our work, so I also totally understand if you're not interested. The upside would be that I'm happy to maintain the resulting output. Thanks!

Wow, did not expect a reply so soon.

As of now I can't help with any coding, but feel free to copy any feature (including any source code).

The "perl builtins autocompletion" is probably not to hard to implement. I just "scraped" https://metacpan.org/pod/perlfunc and wrote a script, https://github.com/weedz/vscode-perl-language-server/blob/master/generate_builtins/main.js, to save the functions as a JSON object and transform to a data structure to be used by my language server.

The signature support is probably a bit more involved as I wrote a custom "parser" (not really a "parser", just line-by-line regex and string match) to find functions and, what could be, an argument list.

weedz commented 1 year ago

Archived without realizing you could no longer comment on issues, whoops... Opening this up again.