3 ms·
I've tried rubymine, and yes the integration with tests is really good. It's really fast when working with tests: run a test and point and click to the source w
by sunkencity 15y ago
I've tried rubymine, and yes the integration with tests is really good. It's really fast when working with tests: run a test and point and click to the source where it fails from the stacktraces. I used it for a big refactoration of a rails app that would have taken longer time otherwise.
I switched to vim though because of some reasons (I was previously an emacs user).
1. less resource intensive (I had to upgrade to an SSD to even run RubyMine on my late 2008 (then top of the line) macbook pro. Running any command in VIM is almost instant, I never have to wait and I hate having to wait for the machine to do something. I even run the terminal in non-anti-alias because I like a 9pt monaco and that it's significantly faster than using an anti-aliased font. mrxvt is even faster, it's crazy fast scrolling through a large logfile, but then I occasionally have to copy and paste and doing that in OSX X11 sucks.
2. I want to use the mouse as little as possible (you cant get this with an IDE)
3. RubyMine could not understand all ruby code so the autocomplete stuff is for me less useful than in vim, where it's super-fast.
4. Less abstraction when working with code. If I really needed an IDE, I'd rather code in smalltalk where the runtime is the IDE.
5. Like having an almost stock editor running so that it's easy to stay productive on any computer.
A great tip that I gathered from http://http://peepcode.com/products/play-by-play-bernhardt http://http://peepcode.com/products/play-by-play-bernhardt is to map your current test to a key:
:map ,t :!ruby -I test test/functional/foo_test.rb -n test_whatever<CR>
It's even better when not in a rails project so the whole stack doesn't have to spin up. Boom! instant test result after a couple of seconds.
I've also mapped ,m to NerdTreeToggle, works fine and it remembers the state of the project file.