From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72010 invoked by alias); 14 Jan 2018 20:07:48 -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 71990 invoked by uid 89); 14 Jan 2018 20:07:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Cargo, Hx-languages-length:807, H*r:Unknown X-HELO: blaine.gmane.org Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Jan 2018 20:07:45 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eaoX5-0003RX-9U for kawa@sourceware.org; Sun, 14 Jan 2018 21:05:31 +0100 To: kawa@sourceware.org From: Helmut Eller Subject: Re: language server protocol for Kawa Date: Sun, 14 Jan 2018 20:07:00 -0000 Message-ID: References: <78c36015-ce0d-a0cf-c81e-37f0ce4d8e9a@bothner.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) X-IsSubscribed: yes X-SW-Source: 2018-q1/txt/msg00009.txt.bz2 On Fri, Jan 12 2018, Per Bothner wrote: > Has anyone done any work for a Language Server Protocol > (https://langserver.org/) for Kawa? Any insights or partial code? Just some thoughts: - For Kawa's Java code I'm using the Emacs lsp-mode as client and Eclipse's jdt-server. While I wouldn't call that combo great, it certainly helps navigating the code. (I'm still using make directly to compile things.) - It seems to me that an LSP server would like to have something like a "project" file that lists the interesting source files, libraries etc. I suppose plain Makefiles will not work so well for that; maybe Ant files would work better. Or maybe Kawa should have something like Rust's Cargo. My guess is that this will be an important design decision. Helmut