3 ms·
I wish I could find (or create) a working LSP setup for the Java code base at work. It consists of multiple projects, tied together by a Gradle build script.
by hibbelig 6y ago
I wish I could find (or create) a working LSP setup for the Java code base at work. It consists of multiple projects, tied together by a Gradle build script. IntelliJ just groks the build.gradle and Eclipse can also import it.
Is there an LSP server that can do something similar?
- nonbirithm 6y agoAt one point I tried embedding a language server in a running IntelliJ process. It kind of worked, but a few problems led to me getting tired of maintaining it: - Constant API updates to IntelliJ internals requiring updates to the extension. - The need to run a full copy of IntelliJ in the background, and breakage in the copy leading to requiring a full restart. - A lot of concurrency problems I didn't understand because by necessity it required going deep into IntelliJ's codebase. - I was no longer using Java in my work environment or for personal projects, so I had no need to use IntelliJ. But despite this, the repo stands as the most-starred one I have. People are still starring it even though I haven't made changes in over a year and a half! https://github.com/Ruin0x11/intellij-lsp-server https://github.com/Ruin0x11/intellij-lsp-server So it sounds like this is a thing people would use, if someone wants to take up the maintenance burden.
- Asooka 6y agoIIRC, Vim has some kind of builtin support for Eclipse for Java development, have you tried that? I admit I haven't really looked into it, just seen it mentioned while reading the manual.