I’m trying to get lsp-julia to work in Emacs with its lsp-mode. I’ve hacked around on lsp-julia and it appears I’ve been able to get it to interact with lsp-mode and start the language server properly with 1.4.2 (it had its own issues), but now its hanging when trying to index a very small project with very small packages. Lsp-mode logging does not give a whole lot of info. I’m pretty sure it has to do with the JSON message passing, I think its possible lsp-mode’s JSON protocol/schema is incompatible because of some other errors that popped up that I’ve been able to resolve (maybe not properly).
I tried editing
jsonrpc/core.jl with some
@debug statements but it interferes with
stdin/stdout of the language server so I get a
JSONRPC endpoint type error. (
stdin is seen as
Is there a way I can initialize the language server and pipe its communication with Emacs lsp-mode to see whats going on?
Also, I’m very very new to Julia, so I’m probably a little over my head even trying to hack around on this and apologies if this makes no sense.
Thanks for the help