astrocommunity icon indicating copy to clipboard operation
astrocommunity copied to clipboard

Support spring-boot

Open imkratos opened this issue 1 year ago • 4 comments
trafficstars

Is your feature related to a problem?

https://github.com/JavaHello/spring-boot.nvim can support ?

Describe the new feature

https://github.com/JavaHello/spring-boot.nvim is support java spring boot how can i into astrovim community

Additional context

No response

imkratos avatar May 07 '24 02:05 imkratos

Take a look at an existing pack in astronvim community.

Uzaaft avatar May 07 '24 15:05 Uzaaft

Take a look at an existing pack in astronvim community.

where is it ? pack.lang.java ? i don't know. which one ? tks

imkratos avatar May 08 '24 07:05 imkratos

Just pick a random pack. :)

Uzaaft avatar May 08 '24 12:05 Uzaaft

We shouldn't use the plugin provided here, we should use nvim-java/nvim-java

Uzaaft avatar May 14 '24 09:05 Uzaaft

@imkratos isn't the existing java pack works with spring-boot project already? What additional feature does https://github.com/JavaHello/spring-boot.nvim offer?

Juniar-Rakhman avatar May 27 '24 14:05 Juniar-Rakhman

@Juniar-Rakhman maybe i should to read document, i didn't see help doc. tks bro.

imkratos avatar May 28 '24 02:05 imkratos

@Juniar-Rakhman Actually, spring-boot.nvim is a nice-to-have NeoVim plugin. It replicates the functionality of the Spring Boot Tools extension available with VS Code. It provides the STS4 language server which runs along with JDTLS and provides symbols and search functionality for REST Endpoints, Spring Beans, etc. It also provides Intellisense for application.properties & application.yml files. PFA my screenshots from VS Code with that extension.

Screenshot 2024-06-21 142531 Screenshot 2024-06-21 142935

PS: The lsp-java plugin available in Doom Emacs has been providing this functionality for quite sometime now. It would be nice for AstroNvim to support it too! 😊

nithin-mk avatar Jun 21 '24 09:06 nithin-mk

We shouldn't use spring-boot when nvim-java will do the job + replace what we already have.

Uzaaft avatar Jun 21 '24 10:06 Uzaaft

@Uzaaft

  1. The nvim-java plugin does not support the Spring-Boot specific functionality which I mentioned in my previous comment. There is an open issue regarding the same: https://github.com/nvim-java/nvim-java/issues/37
  2. Besides, nvim-java is not included as a part of AstroCommunity anyway. It's not present in https://github.com/AstroNvim/astrocommunity/blob/main/lua/astrocommunity/pack/java/init.lua

nithin-mk avatar Jun 21 '24 10:06 nithin-mk

Read the whole convo. @nithin-mk

Uzaaft avatar Jun 21 '24 11:06 Uzaaft

@Uzaaft I did read the whole convo and have been experimenting with multiple editors as of now. What are you implying? :-)

nithin-mk avatar Jun 21 '24 11:06 nithin-mk