Whoa. I just started an hour ago trying to setup Neovim for Java and didn't came that far. And just before I got annoyed: Bam new Video "Setting up Neovim for Java Development". You saved my day.
This looks so amazing but I somehow doubt that I can replace my IntelliJ with it. I just think that eventually, there will be something that is missing. For small private projects I could probably use it. But for work idk… what about creating and selecting run configurations like in IntelliJ, what about jumping to references that are not findable with LSP and all that stuff? E.g. when you Inject a value like @Value(„properties.username.age“) can you jump to that properties file etc. ? Idk if I should invest all my time into learning vim but it seems so cool :/
@@RahulSsup i asked the same to chatgpt : IntelliJ has searchable dependency tree. Wonder if there’s an equivalent in Nvim.! gpt bro said : In Neovim, you can achieve a similar functionality to IntelliJ's searchable dependency tree by using plugins that integrate with build tools like Maven or Gradle. One such plugin is vim-gradle, which provides commands to view and search dependencies in a Gradle project. i am learning spring boot and a fan of vim so i end up watching this video (procrastinating .. ha aha)
Nice video.code completion,code generation,linting,code formatting,etc.but is there a elegant way to simply run the code ? Like the console of heavy java IDEs.I notice that spacevim does run java code that way,but I have no idea how they make it.thanks.
No idea how to make this work. First of all, my entire screen is pink, I change the color scheme but it does not get saved, many errors trying to install your config. Was curious to try nvim with java..
@@chrisatmachine Well, I didn't have floating set by default, but thanks to you I looked up into docs and found this options: ``` "suggest.floatEnable": true, "diagnostic.messageTarget": "float", "signature.target": "float", "coc.preferences.hoverTarget": "float" ``` After putting them in CocConfig, floating started to work. Thanks, I thought it was some kind of plugin.
@Grisosthone It's a bit tedious tbh, I'm still working out some kinks. But it works fine when I do it right. I'm hoping nvim-dap solves my problems some day.
Hello, great tutorial. i love this configuration for coding java. But i have one problem: sometimes the autoformating on save is crashing my whole javafile. how can i edit or deactivate this? Thank u in advance!
@@chrisatmachine thank u for this fast answer :) i removed the autoformat for java - this works now - thank u! but i have one more problem :o it seems that nvim looks for other files in folder and change to same format like a other file. Sometimes, when i create a file in a folder with other javafiles, nvim use tabs instead of 2spaces. But in generalsettings i changed it to 2spaces instead of tabs. Where can i find the settings for this? Or how can i deactivate this autoformat?
i am having problem with neovim. i git cloned your nvim file and ran the install.sh file. then i run nvim. and i am getting error "Failed to install lvimuser/lsp-inlayhints.nvim/readme". and when i code sample c++ or java files, i intentionally misspelled the syntax and it didn't show me the error. I also can't do some other things like rename, Error on prepareRename: Cannot rename symbol: there is no symbol at the given location. help me please
how did u manage to get the fzf preview window to be underneath the filesnames? in my case its always on the right side and i havent seen a setting for it yet (5:54)
Hey Chris, after installing a new os on my pc, i used your "install-in-one-command" again. Unfortunately the coc-settings.json and coc-plugins aren't in your packages anymore.
Hey chris I noticed your live stream video in which you dived deep into setting up java and neovim has been deleted. I was wondering if you could upload it again because there aren't many tutorials on setting up neovim and java. This was legitimately the best video covering it. It's a huge waste that it's gone. Even your blog post about it is unavailable now
I feel like Java devs can definitely be IntelliJ independent, and they should try because many of them swear by it but all that shows is that they need so much hand holding. Yeah the productivity stuff is great but I don't think most of them really need that big of an IDE.
Man I've been trying to all these things with YCM and losing. Gave it fair shot, moving on to Coc... You save my life
Great stuff!! As someone mentioned below, one for JavaScript / Python / Web Dev pls 🙏
Is it just me or the Link to the blog doesn't work anymore?
Indeed it doesn't work for me either
Whoa. I just started an hour ago trying to setup Neovim for Java and didn't came that far. And just before I got annoyed: Bam new Video "Setting up Neovim for Java Development". You saved my day.
While I am not a fan of coc myself Its always nice to see other vim users using vim/neovim with java
I can't imagine not using coc for java at this point. Maybe one day I'll switch over to builtin LSP. What are you using?
@@chrisatmachine I use tags, and used to use vim-lsc but am giving neovims native lsp a try. It's not perfect since some projects seem to break it.
@@chrisatmachinedo you still use Vim for Java? Any new features out? Would like to have some prebuild for it if available.
Great tutorial!
Thank you from France :)
Awesome, very grateful to see your workflow at the beginning of my Java learning.
the link is invalid, where can I find the blog post?
Your "Link to blog" is broken. Very bad.
This looks so amazing but I somehow doubt that I can replace my IntelliJ with it. I just think that eventually, there will be something that is missing. For small private projects I could probably use it. But for work idk… what about creating and selecting run configurations like in IntelliJ, what about jumping to references that are not findable with LSP and all that stuff? E.g. when you Inject a value like @Value(„properties.username.age“) can you jump to that properties file etc. ? Idk if I should invest all my time into learning vim but it seems so cool :/
Also IntelliJ has searchable dependency tree. Wonder if there’s an equivalent in Nvim.
@@RahulSsup i asked the same to chatgpt : IntelliJ has searchable dependency tree. Wonder if there’s an equivalent in Nvim.!
gpt bro said :
In Neovim, you can achieve a similar functionality to IntelliJ's searchable dependency tree by using plugins that integrate with build tools like Maven or Gradle. One such plugin is vim-gradle, which provides commands to view and search dependencies in a Gradle project.
i am learning spring boot and a fan of vim so i end up watching this video (procrastinating .. ha aha)
@@ro0t115 thaaanks
Nice video 👍
It would be cool to do an example with C++ development as well.
article link 404s
Any chance you'd redo this video with native LSP for Neovim 0.5?
this is amazing. mate, you are too good.
Like comming at you with super sonic speed!
Wow, great. Looking forward the next debugging video
I've been waiting for this.
Nice video.code completion,code generation,linting,code formatting,etc.but is there a elegant way to simply run the code ? Like the console of heavy java IDEs.I notice that spacevim does run java code that way,but I have no idea how they make it.thanks.
Hi, how did you rename the file while renaming the class name? This is such a lovely feature!
so great man, really thank you very much!!!
awesome ! How can I get the configuration steps??? I want to study how to config.
No idea how to make this work. First of all, my entire screen is pink, I change the color scheme but it does not get saved, many errors trying to install your config. Was curious to try nvim with java..
does it have support for android base projects?
Hey, thanks for the tutorials. Could you please tell me how did you manage to execute CocActions and Rename in a floating window? Thanks.
That’s built in to CoC, so I just called the command. I think it’s somewhat new so try and update the plug-in / extension if you’re not seeing it.
@@chrisatmachine Well, I didn't have floating set by default, but thanks to you I looked up into docs and found this options:
```
"suggest.floatEnable": true,
"diagnostic.messageTarget": "float",
"signature.target": "float",
"coc.preferences.hoverTarget": "float"
```
After putting them in CocConfig, floating started to work.
Thanks, I thought it was some kind of plugin.
@@HueHueHue23 hmm, I'll have to check if I actually specify this.
Thanks for the video! The blog post doesn't seem to work anymore.
Great video! Can you do one for python and one for web dev?
Next video will be Vimspector for Java, Then I will definitely do videos for Python and React development.
@Grisosthone It's a bit tedious tbh, I'm still working out some kinks. But it works fine when I do it right. I'm hoping nvim-dap solves my problems some day.
i cant use lvim.transparent_window = true
can u help me? i need transparency
Hello, great tutorial. i love this configuration for coding java. But i have one problem: sometimes the autoformating on save is crashing my whole javafile. how can i edit or deactivate this? Thank u in advance!
Check out coc-settings.json. Remove the autoformat. There’s also a command you could could run I think but I don’t know it off the top of my head.
@@chrisatmachine thank u for this fast answer :) i removed the autoformat for java - this works now - thank u! but i have one more problem :o it seems that nvim looks for other files in folder and change to same format like a other file. Sometimes, when i create a file in a folder with other javafiles, nvim use tabs instead of 2spaces. But in generalsettings i changed it to 2spaces instead of tabs. Where can i find the settings for this? Or how can i deactivate this autoformat?
Are you planning to switch to native LSP anytime soon?
i am having problem with neovim. i git cloned your nvim file and ran the install.sh file. then i run nvim. and i am getting error "Failed to install lvimuser/lsp-inlayhints.nvim/readme". and when i code sample c++ or java files, i intentionally misspelled the syntax and it didn't show me the error. I also can't do some other things like rename, Error on prepareRename: Cannot rename symbol: there is no symbol at the given location.
help me please
Thanks for the video. Did you get auto imports from Springboot working in Neovim?
how did u manage to get the fzf preview window to be underneath the filesnames? in my case its always on the right side and i havent seen a setting for it yet (5:54)
its coc-fzf-preview, check my which key file for bindings.
the link for the blog is not working
Excelent video, theme and font name?
hey does anyone know where I can find auto-formatting by saving?? I can't find that command in his github repo. Thanks in advance :)
check coc-settings.json. java needs to be added to autoformat list
Where can i see the shortcuts list? Great vídeo Mr.
The blog is down. Is there any alternative?
Hey, the link to blog is broken.
Nice video! Brazil here!
Great job!
Can you run tests from neovim? I also need to set up some jvm variables
Is that doable?
I really want to get rid of IntelliJ
Wow, I had to stop the video before you set how you use Lombok. That's what I need, time to switch!
I'm switching to native lsp soon. There is a plugin that supports running individual tests. I'll probably do a video on it soon.
Can you do for c# too?
Is there a way to add unimplemented methods?
GREAT VID MAN!!
yeah. but how you build compile and rune the whole thing?
mvn spring-boot:run
i cannt download your Config from git
Hey all of this gone from your blog. The link no longer works. and your setup seems changed to .lua based configs.
Hey Chris, after installing a new os on my pc, i used your "install-in-one-command" again. Unfortunately the coc-settings.json and coc-plugins aren't in your packages anymore.
there is a stable coc branch on my repo
@@chrisatmachine aah, thank you!
this doesnt look like neovim! what color scheme is he using? Thanks!
Hey chris I noticed your live stream video in which you dived deep into setting up java and neovim has been deleted. I was wondering if you could upload it again because there aren't many tutorials on setting up neovim and java. This was legitimately the best video covering it. It's a huge waste that it's gone. Even your blog post about it is unavailable now
This also works for vim?
Thanks a lot :)
How to debug?
does this work well? honestly one of my reasons for not looking into java jobs is how hard it can be to use neovim for java development lol
You avoid jobs because your poor text editor is unable to handle it like a champ???
Use an actual IDE like Intellij F*king Idea Ultimate.
Can you make a video about jdtls with lspconfig for java.
and kotlin language server with lspconfig. plz....
what name this theme ?
This brings me some hope maybe I can finally be Intellij independent
I feel like Java devs can definitely be IntelliJ independent, and they should try because many of them swear by it but all that shows is that they need so much hand holding. Yeah the productivity stuff is great but I don't think most of them really need that big of an IDE.
which OS is this?
what about debugging? hot code swapping? tomcat support?
Good joke Xd
Use vimspector for that. I manage to get it work. I use vim8 though
Please show me Neovim + Dart
Now do same for Python!
09:50 Lombok
python python python !
all this , just i want to know how to run java in nvim hahaha??????
It's difficult
Hey, the link to the blog is broken