Live data from Hacker News

Vim vs. IDE's

news.ycombinator.com

21–30 of 41 posts

Re: Vim vs. IDE's

#21

I use IntelliJ. The biggest reason is because static analysis is a core feature. This core feature is a huge time saver when dealing with a large codebase. * Visual highlighting for mistyping an import statement * Code hints * One-click navigation to where a method is defined * Easy refactor To illustrate what a time saver this is, it seems weekly some other engineer ask me to help them troubleshoot code that just is…

And, Jetbrain's IDEs have a great VIM mode. Best of both worlds.

Re: Vim vs. IDE's

#22
post #21

I use IntelliJ. The biggest reason is because static analysis is a core feature. This core feature is a huge time saver when dealing with a large codebase. * Visual highlighting for mistyping an import statement * Code hints * One-click navigation to where a method is defined * Easy refactor To illustrate what a time saver this is, it seems weekly some other engineer ask me to help them troubleshoot code that just is…

And, Jetbrain's IDEs have a great VIM mode. Best of both worlds.

Go on.

Re: Vim vs. IDE's

#23

I like nano and now please kill me :) I use it remote and everything shell related. If I program something bigger I like sublime. And if it a project with several hundred files I use ides. Here I'm not really settled. Everything. NET related i use visual Studio. In my opinion nothing beats it. If I could I would use it for everything else. From php to Javascript to ruby. But that costs a bunch of money.

Visual studio has the vsvim plugin for vim emulation - for me it was quite a changing experience.

I took a while to learn, but totally worth it.

Re: Vim vs. IDE's

#24
post #13

Spacemacs[0] is neat, but I found myself longing for a full-fledged IDE again. It's very extensible however (and so is Vim). Granted, I am not yet a hardcore Vim user, so I've been trying to get there via using the IdeaVim[1] plugin with whatever JetBrains IDE I happen to be working in. It seems like the best compromise presently. I may be working in Visual Studio soon, so VS + Resharper + VsVim should be interesting…

Well, I have used IDEs for a big part of my life, but for all my personal projects I tend to end up in (spac)emacs. My personal projects are all written in scheme, and that is probably a big reason why. For work we have a freepascal code base that is a couple of million lines. My biggest personal project is about 20k lines of chicken scheme.

I really miss my home environment when I am editing code, but thinking of navigating such a huge pascal codebase makes me think twice.

Re: Vim vs. IDE's

#25

I like nano and now please kill me :) I use it remote and everything shell related. If I program something bigger I like sublime. And if it a project with several hundred files I use ides. Here I'm not really settled. Everything. NET related i use visual Studio. In my opinion nothing beats it. If I could I would use it for everything else. From php to Javascript to ruby. But that costs a bunch of money.

I've never known anyone to code in nano!

Re: Vim vs. IDE's

#26

I always use vim, except where I'm forced otherwise. Any time I have to use xcode it is generally a frustrating experience. While interface builder is certainly a time saver, it has to be balanced against the hassle of random quirkiness of xcode whenever it decides to give you some kind of weird error due to a bug in xcode, and you have to go to stackoverflow to figure out the resolution. Eclipse just needs to be tak…

You might like XVim: https://github.com/XVimProject/XVim

Re: Vim vs. IDE's

#27
post #15

In my experience an IDE becomes a crutch for beginners to programming (and I reserve my right to change my opinion). IDEs helps new engineers by postponing having to learn high productivity command line tools like Bash and Git. I see this all the time with new engineers (read: bootcamp graduates) and it is expensive having to educate new employees about the context in which their IDE operates (whether that's locally,…

Easy to use step through debugger is the main reason I use an IDE (Eclipse based because its what I know, and doesn't as far as i am aware lead to lock in). Also I have SQLExplorer plugin for the database. I have been tempted to learn Vim or Emacs but I can't really find a good reason to spend the time learning a load of obscure keyboard commands for everything when my IDE appears to do all of those things.

I would welcome opinions on what I am missing out on going the IDE route.

Re: Vim vs. IDE's

#28
There is nearly always a better solution to vim for any specific task but hardly ever for more general cases.

I can remotely edit files with vim. I can edit them locally. I can edit my emails in vim. I can get completion, formatting, documentation, linting, build errors, tags for dozens of languages. If even edits my tmux status line. It handles my todo lists. It does most things poorly (except text editing - text objects are awesome) but it does them all. I suspect the only real alternative is emacs.

If I worked on the same platform in the same programming languages doing the same things every day it would almost certainly be better to use the best available IDE for those exact requirements. I suspect the more complicated boilerplate heavy OO languages and systems with big complicated frameworks probably benefit most from a sophisticated IDE.

If you have a career spanning decades and swap between platforms and either side of the devops line then sometimes it pays to learn tools with longevity and more general applicability. I don't think it is necessary to use vim exclusively but I think there are benefits to being able to use it competently for tasks where an IDE is less suitable.

Re: Vim vs. IDE's

#29
I find Vim+shell the best IDE i could have. Mates at work are usually surprised that I code in Java using it, but even they admit that it works for me. To be honest, most of needed features can be quite easily implemented using basic tools, only debugging is a little problem, but I'm already working on it. Honestly I like that I implement it myself, I've got time for it at work, I can learn many interesting things, make everything extremely customized.

Except this I use Vim/shell because IDEs usually are so messy, I must look for stuff, use mouse and so much stuff happens implicitly. Probably it's convenient for someone who doesn't memorize well, but I do. :)

Re: Vim vs. IDE's

#30
I use IDEs for all complex projects where I import stuff from different files and packages, intelligent autocomplete and common git workflow are seamlessly integrated. (I think of Netbeans and IntelliJ)

I use ne (NiceEditor) for all the "on-the-fly" editing where I just need to change simple stuff.

Post reply on HN