-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for NeoVim #1128
Comments
The only complication of Spring Boot LS adoption in clients other than VSCode and Eclipse would be supporting communication between Spring Boot LS and JDT LS via the client - messages described here: https://github.com/spring-projects/sts4/wiki/Developer-Manual-Java-Messages |
Almost forgot. The comm between JDT LS and Boot LS via the client requires some client code to be present. For example classpath listener related comm (most important) requires message handling code on the client: https://github.com/spring-projects/sts4/blob/main/vscode-extensions/commons-vscode/src/classpath.ts Here is more for Java language related stuff: https://github.com/spring-projects/sts4/blob/main/vscode-extensions/commons-vscode/src/java-data.ts Besides this the JDT LS extension JARs must be supported. This is done in VSCode here: https://github.com/spring-projects/sts4/blob/main/vscode-extensions/vscode-spring-boot/package.json#L34 but for other clients likely this would implemented differently. |
Thanks a lot, I'll experiment a little! |
@oysandvik94 Hello. I'm working on https://github.com/s1n7ax/nvim-java plugin. I just want painless Java experience in Neovim. As a developer who's working on Spring Boot for the most part, I would like to have this integrated right in to |
@s1n7ax I got a new keyboard and layout, so I had to learn typing and didn't really get past the initial research phase. This sounds like an awesome project though, so I'd love to contribute when I get some time again. |
@oysandvik94 I will give this a try then. I really hope the layout is Colemak and you would contribute. Thanks |
@s1n7ax @oysandvik94 Let us know how things are going and if you need any help. |
This comment was marked as off-topic.
This comment was marked as off-topic.
So far this is what I figured.
|
If |
I have few questions. I added a mson.nvim registry to get the artifacts from sts4 vscode-spring-boot-1.50.0-RC.2.vsix I have loaded them to jdtls just like vscode-java-test & vscode-java-debug jdtls plugins However, I don't see any commands being added to jdtls with this plugin. By the look of classpath.ts, there should be |
Got it working. extension loading failed due to missing sts4/vscode-extensions/vscode-spring-boot/package.json Lines 35 to 39 in cb4056d
|
Can someone help me with these..
In Neovim, nvim-lspconfig plugin provides the language server setup configurations. At the moment, there is no any such config for spring boot language server. Is there any documentation regarding the command & other configurations needed to run the language server. For reference, following is the default configurations that's used to start the |
I think the way we register commands for jdtls to execute is using |
I think yes. Few month ago I tried to configure emacs as ide for java and they did some integrations with sts4. I really hope you can do it. I wish you all luck in that bumpy road. I want to try neovim, it seems really cool editor and workflow. Only one thing stopping me to try is a lack of time to configure it by myself because of the learning curve. But if it will help you I will be happy) |
Hello, what could be the cause of this error? I tried this on jdk17.
|
I couldn't find the I got the jar I used above from following comment |
It is exploded JAR. Launching the server would be |
|
Neovim has support for JDT language server: https://github.com/mfussenegger/nvim-jdtls
sts4 support would be a great addition. I tried reading through the docs myself, but I didn't see an obvious way, but if anyone has any good tips I can give it a try myself.
The text was updated successfully, but these errors were encountered: