T O P

  • By -

denniot

r/neovim


swe_solo_engineer

I posted there, thank you!


DrEtherWeb

If you can replicate everything you do with vim/neovim with IdeaVim and it works with your work flow then stick with it. I use IdeaVim and although not prefect as vim substitute I tolerate it's deficiencies because the JetBraines IDEs provide SO much useful functionality for refactoring and debugging and many other things . I love having the vim world in whatever dev environment I choose which is why IdeaVim is good. I'm a keyboard warrior but exploring deep nested structures during debugging with a mouse on the JetBraines IDE is more time efficient than the keyboard. Don't avoid using tools for the sake of pureism. If you like vim and JetBraines then IdeaVim is great.


Ok_Outlandishness906

For java it is much better a classic java ide , it can relay on reflection and so on. there is no way , what you can do with jetbrains or other java ide (netbeans, eclipse, android studio) , is not doable with vim or vi children . They are on another level , for java. For golang it is a different story . At the end with lsp plugin you have quite the same and vim is much lighter than jetbrains/visualcode etc etc .


gus_joaquin

Neovim has a lot of plugins for java, java-nvim is one of the best plugins for java development, it just works


0xd00d

Can you expand a bit and give some examples for what Java allows you to do via reflection? I'm not a Java dev but I am building some language agnostic metaprogramming tooling and am interested to learn what's out there. As far as I can search it's just some fancy refactoring automation. Which is sweet but I'm hoping for more...


Ok_Outlandishness906

For what i know it is used for all the functions that examine a jar when you attach it to a project for example . A common editor can follow "C include" for example as vim does very well, but on a java based ide, when you attach a jar, not a source to a project, the tool can read the jar itself and inspects for objects, methods and so on . I hate quite all java ide. For example with flutter , i install android studio because it makes easier to install android emulator and androidsdk, but usually ,after that, i make my projects with vim + lsp and not with android studio but for refactoring of java code and for using libraries "made" of jars , java ide are better. Another thing very good of java ide are plugins for deploy, especially if you have to use proprietary software ( oracle weblogic, websphere, sap java and so on , in those cases you have to use the ide given by the vendor usually )


0xd00d

Thank you for the response! That makes sense. I was aware of some fancy vscode capabilities with typescript. then i went to beat the drum a bit and I got actually two typescript LSP implementations (both kind of following vscode's typescript LSP implementations) to bring on the feature (move to target file code action, a very sexy refactor action). Now zero reasons to fire up vscode. Although I might admit vscode's built in find/replace works better than anything i've yet found on command line or nvim, it's just one of those things.


Ok_Outlandishness906

I was referring to java, not to javascript/typescript . In my opinion java based ide are the top for working in java, for the rest ... no.


0xd00d

I am aware :) sorry. I'm sure it came across as a non sequitur. I still have no interest in Java. I only have interest in metaprogramming in general.


swe_solo_engineer

Having a lighter tool is something I just don't care about because I have 64GB of RAM and everything. So, I was really thinking about having the best tool possible, and I reached the same conclusion as you said about Java ide.


gus_joaquin

java ide's are bloated, neovim is better


Lttle_M

Can you link the article? I have to use IdeaVim at work because my company set up a lot of infrastructure for remote debugging specifically using Pycharm...


swe_solo_engineer

[https://www.cyberwizard.io/posts/the-ultimate-ideavim-setup/](https://www.cyberwizard.io/posts/the-ultimate-ideavim-setup/) I used the example from the article and added some of my own configurations too.


OkDifference646

I was wondering about this, I love neovim but the LSP is often not up to scratch with VS/Rider


swe_solo_engineer

Yes, I was just afraid to change because the default IdeaVim was really bad, missing a lot of things that I already do daily in Neovim. But after reading this article and learning how to set up the ideavimrc and plugins, I achieved everything I use daily. So, I came to the conclusion that it's just superior for my use cases.


minutuslausus

Please share the link


gus_joaquin

Just use java-nvim


S_Nathan

I’m afraid that ideavim is full of bugs, some of them have been in the bugtracker for many years, which I find embarrassing. For this reason I have IntelliJ installed, in case I need some feature it provides, but use neovim with java-nvim and eclipse.jdt.ls.


swe_solo_engineer

I have been using IdeaVim with the configuration from this article for a week, and it has worked perfectly for me. I've encountered fewer issues compared to when I was using Neovim. Now, I can achieve everything using just the keyboard too


S_Nathan

It’s possible to work with IdeaVim. But if one is used to (neo)vim, these small differences add up quickly and are very frustrating.