6 ms·
In the age of Vim being a full IDE, these kinds of things only become more important.
by pkulak 3y ago
In the age of Vim being a full IDE, these kinds of things only become more important.
- maccard 3y agoVim is a not an ide. Intellij with java is worlds apart from any vim setup I've ever seen in the wild.
- deleted 3y ago[deleted]
- WD-42 3y agoThat’s because writing Java all but requires a giant, heavy ide. Like IntelliJ, eclipse or netbeans, and always has. Vim + lsp for basically any other sane language is good enough.
- ris58h 3y agoIf a text editor is enough for some programming languages it doesn't mean that the editor is an IDE.
- 5e92cb50239222b 3y agoYou can keep telling yourself that, it doesn't change the fact that IDEA beats any plain text editor for working with code in any language I've ever seriously tried. It's not just Java. I used vim/neovim for about a decade on and off, and then went all in on neovim for about a year (because I honestly wanted to see what's on the other side), forcing myself to believe that lie in spite of my experience screaming the opposite the whole way, but eventually came back to IDEA because it's not “good enough” if you know both of them well. One works with code on the AST level, understands the whole project at once, and is developed as a monolithic project (not really — IDEA is very modular and is built as separate components, but they integrate so well you don't feel it). The other works with text in currently open files and has smart features tacked on the side through language servers of varying quality (the best of which have 10% of functionality supported by a comparable IDE). The difference in how they behave and what you can accomplish (I repeat, if you know both of them well) is considerable. There are lots of things to criticize in JetBrains' tools (terrible performance, well known bugs go unfixed for decades), but it's not just a glorified text editor. Also, Java does not "require a giant IDE" any more than other languages do. The language — because of its static typing and good support for reflection — lends itself to writing excellent autocompletion and refactoring tools. Same for C#, F#, Kotlin. Most other languages simply don't have them, not that they don't need them — they just generally cannot have them because of heavy reliance on runtime “magic”, or small user base, or exceedingly complicated analysis (even JetBrains “failed” here — CLion is a quite poor experience compared to Rider/IDEA), or other reasons.
- WD-42 3y agoAll the reasons you give for idea being superior sound like Java developer problems. Maybe I don’t need my editor to “understand the entire project” because the code I work on is modular and self contained enough that it doesn’t matter. When I need a big refactor, tests are usually there to help. Of course, when you are working on a code base full of AbstractAutowiredFactoryBeanFactories the yea of course you are going to need some more involved tooling, because it’s impossible for a human to read.
- kaba0 3y ago> Maybe I don’t need my editor to “understand the entire project” With all due respect, I don’t think you have seen the monstrosities project can grow into over multiple years and big teams. Not everything is at the scope of, say, Foot - but even this pushes the boundaries of human understanding without tools to aid.
- kaba0 3y agoJust as much as going to the 10km away supermarket requires a car or public transport - you can walk if you want, but I will have already went home from shopping while you are still just started walking.
- WD-42 3y agoWalking is good for you.
- kaba0 3y agoYou can do much better things in all that free time you get, but it is an analogy.
- pkulak 3y agoNaw, you have no free time because you live in a food desert where you can't even walk to get groceries and you're stuck in your car for everything. You're totally dependent on a giant, expensive, resource-intensive monster. It would be nice to have options, but you're locked in. (walking is VIM, the Escalade is IntelliJ)
- WD-42 3y agoLike what?
- maccard 3y ago> That’s because writing Java all but requires a giant, heavy ide I used intellij as an example. Visual studio and c++, rider and c#, goland and go are all vastly more feature rich than vim and an LSP.
- arzig 3y agoI can get by with https://github.com/mfussenegger/nvim-jdtls https://github.com/mfussenegger/nvim-jdtls
- maccard 3y agoI don't want to "get by" with probably the most important tool in my toolbelt, though.
- vermilingua 3y agoDoes anyone have a handy guide for getting rolling with (neo)vim as IDE? I’ve been using LunarVim which mostly works but has enough annoying edges that I want to roll my own config; but there is a lot of ground to cover and I’m not sure where to start.
- maxRN 3y agoKickstart.nvim [1] is a good starting point. One big Lua file which gets you 90% there and shows what’s possible while making it easy to change/add stuff and getting started doing your own config. [1]: https://github.com/nvim-lua/kickstart.nvim https://github.com/nvim-lua/kickstart.nvim
- vermilingua 3y agoExactly what I was looking for, much appreciated!
- phatskat 3y agoI’ve really enjoyed AstroNvim and have used it pretty regularly for more than a year now. No major breaking upgrades, and very good support and user manual.