This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: language server protocol for Kawa
- From: Duncan Mak <duncanmak at gmail dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Kawa mailing list <kawa at sourceware dot org>
- Date: Fri, 12 Jan 2018 17:31:31 -0500
- Subject: Re: language server protocol for Kawa
- Authentication-results: sourceware.org; auth=none
- References: <78c36015-ce0d-a0cf-c81e-37f0ce4d8e9a@bothner.com>
Hello Per,
i started doing this a few months ago, but I didn't get very far at all.
Perhaps it's because of how I tried to do it - I looked at
https://github.com/palantir/language-servers and
https://github.com/eclipse/lsp4j and tried to implement the
LanguageClientAware and LanguageServer interfaces.
The Groovy implementation is here -
https://github.com/palantir/language-servers/blob/develop/groovy-language-server/src/main/java/com/palantir/ls/groovy/GroovyLanguageServer.java
It was difficult to know if I'm making progress, because it seemed
like all the things needed to come together all at the same time.
If you're jumping into working on an LSP implementation, I'd love to
contribute on GitLab if you can post issues with tasks for others to
complete.
Duncan.
On Fri, Jan 12, 2018 at 5:04 PM, Per Bothner <per@bothner.com> wrote:
> Has anyone done any work for a Language Server Protocol
> (https://langserver.org/) for Kawa? Any insights or partial code?
>
> I ask because I'm getting ready to jump into this as the next major
> project for Kawa.
>
> (I do have one non-trivial bug It want to resolve first:
> GitLab issue #33 and Savannah bug #52390, which are probably both related to
> the fix for issue #11).
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/
--
Duncan.