Quick questions for some vim lovers out there.

I've seen a lot of youtube videos of people using vim/nvim/spacevim/... as their main IDE, claiming that they are perfectly fine with this setup. However, most of this people are programming in not heavy object oriented languages, like JS, C, Rust, Go.

My question is: are there any Java developers who are using vim as IDE and are satisfied with their setup? Is is even possible to migrate from Jetbrains tools to your setup without huge productivity drop? By productivity I mean - a lot of IDE stuff like name refactor, great lombok support, debugging tools

  • 2
    If you think that OOP has anything to do with how capable an IDE has to be, you are wrong.
  • 0
    I know Jon Gjengset uses neovim for Rust
  • 6
    @Lensflare It's not about capability, it's about how well can you navigate the codebase and visualize the flow

    Heavy OOP languages such as Java (at least a few years ago, now many things might have been improved) tend to have a lot of code where a big chunk is just boilerplate.

    IDEs such as Intellij are overkill for putting together a few scripts, because they focus on providing the needed tools for more verbose languages
  • 0
    Java and C# are used at my workplace for certain aspects, I would never attempt and open the projects using Vim.

    The ammount of setup required for Vim to work on a C# or Java project is just not worth it when there are already more than perfectly capable IDE's that work on those two languages and their respective stack. I am a firm believer that if some company is using Java then they better invest on IntelliJ, for C# the usual contender(or contenders since VS Code can do a good job for medium to large level projects on C#) work just fine.

    I love Vim, and have been using it for more than a decade. But it has its place, and that is not that of a replacement for a proper IDE.

    Shit I am starting to bring in Golang into my workplace and I would still not use Vim for that. Config files, basic shell files, or basic scripting files then sure yeah why not, but for other things nah man.
  • 0
    Good question. I agree with the perspective that it seems most vim users don't showcase it for use with OOP languages like Java.

    The coworkers I know who are most prolific in vim are former Java devs (now using mostly Scala) and they use IDE:s for Java but for many other tasks like editing config files, readmes, scripts, git rebasing etc they think they benefit from. using vim.
  • 1
    Like, take Go for example. If I want to inspect something from the library or what not I would have to memorize a command to open up shit and inspect it. I can just hover on it with my mouse on an IDE or even VS code(once the extension is installed) and be done with it.

    I don't buy into the "but you are taking your hands of your keyboard!!" bullshit, if that is one thing then mfkers are slow af
  • 0
    tried it multiple times, never really worked out. i always see myself coming back to intellij with ideavim plugin so at least i have most of the basic vim stuff in my ide.

    especially debugging is a huge downside of just using vim imo, the debugger in intellij is just too good not to use it.

    everything else you mentioned can be accomplished in vim with reasonable effort. refactoring / renaming, navigating a code base, even lombok stuff / general annotation processing. for the first two i recommend coc with the eclipse lsp, for the latter just use maven tasks / gradle or whatever you are using as a buildsystem.
Add Comment