public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: kawa@sourceware.org
Subject: Re: Language Server Protocol
Date: Wed, 29 Jun 2016 07:30:00 -0000	[thread overview]
Message-ID: <5b455e7d-0995-762d-1702-452e2aaa0f14@bothner.com> (raw)
In-Reply-To: <m2vb0s5vbg.fsf@gmail.com>



On 06/29/2016 12:05 AM, Helmut Eller wrote:
> I just read about Microsoft's Language Server Protocol[*], ie. a
> protocol that Visual Studio uses to communicate with servers that
> provide language (C++/Javascript etc) specific support for things like
> "goto definition" in the editor.
>
> This seems like a good approach for editor integration.  What do you
> think, could/should Kawa include a server for this protocol?

It's certainly worth considering.  I'd look at existing support
for JVM languages - maybe Java itself:

https://github.com/georgewfraser/vscode-javac

However, that seems to be javac API, so it may only be useful
in terms of concepts.

This might be more useful:
https://github.com/TypeFox/ls-api/tree/master/io.typefox.lsapi/src/main/java/io/typefox/lsapi
It would be even more useful to find a language implementation that uses the
above library.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

      reply	other threads:[~2016-06-29  7:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29  7:06 Helmut Eller
2016-06-29  7:30 ` Per Bothner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b455e7d-0995-762d-1702-452e2aaa0f14@bothner.com \
    --to=per@bothner.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).