How to connect to Spring Tools Language Server jar for Neovim LSP client? #3564
Replies: 2 comments
-
|
maybe @martinlippert has any pointers. 👋 |
Beta Was this translation helpful? Give feedback.
-
|
There is an easy way to build the pure Spring language server from the project and run that (in the end, it is a regular Java Spring Boot application itself as well) and integrate that from the LSP perspective into any client. But you would have to write some clue code on the client side (the piece that integrates the language server into the client) to hook up the communication between the Spring language server and the JDT LS. All this works via commands going forth and back. Most of this is done via a few additional OSGi bundles that the Spring Tools contribute to the JDT LS (I think the client-side integration of the JDT extension manages to find those additional OSGi bundles from other extensions in vscode and adds them to the OSGi runtime when starting up the JDT LS process): Hope this helps. If you need more details and help, feel free to jump on the above mentioned repo for the Spring Tools and we can take it from there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to connect JDT LS to Spring Tools LS in order to use them both inside Neovim. VSIX file from Spring Tools GitHub contains JAR file inside
language-serverdirectory, but I just can't seem to connect these three and use them in Neovim.Beta Was this translation helpful? Give feedback.
All reactions