Discussion:
Kawa IDE using LSP - preliminary support
Per Bothner
2018-04-13 06:59:52 UTC
Permalink
I've checked into master a first cut at a Language Server Protocol server for Kawa.
I've also munged an Emacs client library (based on the Java library).
You can get the latter from:
https://gitlab.com/kashell/lsp-kawa

That link also has instructions and a short status summary.

Feedback and improvements welcome.
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Tom Bousso
2018-04-13 07:07:01 UTC
Permalink
Post by Per Bothner
https://gitlab.com/kashell/lsp-kawa
This link doesn't seem to be working (is the project set to private maybe?)
Post by Per Bothner
I've checked into master a first cut at a Language Server Protocol server for Kawa.
I've also munged an Emacs client library (based on the Java library).
https://gitlab.com/kashell/lsp-kawa
That link also has instructions and a short status summary.
Feedback and improvements welcome.
--
--Per Bothner
Per Bothner
2018-04-13 14:50:39 UTC
Permalink
Post by Tom Bousso
Post by Per Bothner
https://gitlab.com/kashell/lsp-kawa
This link doesn't seem to be working (is the project set to private maybe?)
Oops. Hopefully fixed now.
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Sudarshan S Chawathe
2018-04-15 17:11:39 UTC
Permalink
I have not tried the LSP features yet but I found that I could not build
Kawa (current GitLab sources) without the LSP dependencies even if I
gave configure the --without-lsp4j option.

It is very possible that I missed something obvious, though I did try a
few other similar new options as well as starting with 'make clean' and
so on. The error messages seemed to arise from attempts at compiling
KawaLanguageServer.java. Since I plan to try out LSP features soon in
any case, I just installed the missing dependencies and then the
compilation was fine as usual.

Regards,

-chaw
Per Bothner
2018-04-15 18:36:37 UTC
Permalink
Post by Sudarshan S Chawathe
I have not tried the LSP features yet but I found that I could not build
Kawa (current GitLab sources) without the LSP dependencies even if I
gave configure the --without-lsp4j option.
Oops. Should work now. Thanks for lettering me know.
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Per Bothner
2018-04-30 16:42:46 UTC
Permalink
Post by Per Bothner
I've checked into master a first cut at a Language Server Protocol server for Kawa.
I've also munged an Emacs client library (based on the Java library).
https://gitlab.com/kashell/lsp-kawa
I added support for other Kawa languages, specifically Common Lisp
and XQuery. The latter required some tweaks to the parser to
record source end position of variable and function references,
to enable "go to definition".
--
--Per Bothner
***@bothner.com http://per.bothner.com/
Loading...