From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11118 invoked by alias); 29 Jun 2016 07:30:09 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 11092 invoked by uid 89); 29 Jun 2016 07:30:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=eller, bothner, javascript X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 29 Jun 2016 07:29:58 +0000 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bI9wY-0002ps-S5 for kawa@sourceware.org; Wed, 29 Jun 2016 09:29:54 +0200 Received: from 70-36-239-75.dsl.dynamic.fusionbroadband.com ([70.36.239.75] helo=toshie.bothner.com) by mailfront12.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1bI9wM-00036X-9F for kawa@sourceware.org; Wed, 29 Jun 2016 09:29:42 +0200 Subject: Re: Language Server Protocol To: kawa@sourceware.org References: From: Per Bothner Message-ID: <5b455e7d-0995-762d-1702-452e2aaa0f14@bothner.com> Date: Wed, 29 Jun 2016 07:30:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-q2/txt/msg00037.txt.bz2 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/