Whatβs the workflow for hacking on the server? When I run (-main)
at the REPL I get back
#object[org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor$1 0x6987186d "org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor$1@6987186d"]
Iβd like to find a port that I can point my client at. πI just added a section about this thread: https://github.com/clojure-lsp/clojure-lsp/blob/master/README.md#development
Awesome!
When clojure-lsp
starts the nrepl, it prints the server in /tmp/clojure-lsp.out
Then you just need to plug a REPL on that port
or use the server-info
command from the client
@ericdallo https://github.com/borkdude/clj-kondo/pull/1108 I think this is 1/2 of what we need for the analysis branch.
Here's the other half https://github.com/borkdude/clj-kondo/pull/1110
Thanks, I'll take a look tomorrow when I'm less tired :)
Good start of the year!
π Yeah, I had no energy last year to think about this stuff, definitely feeling guilty for how long it took.
I actually didn't realize I could do that π . Good to know.
Amazing, I'm so glad we can finish this integration, thank you very much for that!
My instinct is to try from my client. So before I can send a server-info
query anywhere, I need to know where to send it. I think I might carry with me a set of wrong assumptions. It would help with some page where I could read about the dev workflow and how it is supposed to work.