This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: language server protocol for Kawa
- From: Helmut Eller <eller dot helmut at gmail dot com>
- To: kawa at sourceware dot org
- Date: Sun, 14 Jan 2018 21:07:20 +0100
- Subject: Re: language server protocol for Kawa
- Authentication-results: sourceware.org; auth=none
- References: <78c36015-ce0d-a0cf-c81e-37f0ce4d8e9a@bothner.com>
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