scarred, but not defeated by vim, i decided to try a recently released beta of rubymine 1.5, and it’s been great so far.
massive disclaimer: i have not tried anything else for ruby/rails coding except for vim.
unlike a similar offering from netbeans, rubymine is a standalone install that seems to reuse a lot of the existing intellij idea codebase.
it was great experience out of the box – i pointed it at the local svn working copy and it verified all the installed gems (even though i am fortunate enough to run on cygwin, it recognized them all).
it has great rake
support, and all rake tasks run without any
modifications. however, for script/server
in cygwin evironment i had
to replace -e"STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift);"
with
-e"STDOUT.sync=true;STDERR.sync=true;RAILS_ROOT='/cygdrive/c/project/root/dir';load($0=ARGV.shift);"
in ruby arguments
field. once the server runs, it also displays its
log with proper color-coding.
i still run script/console
from cygwin command line, since rubymine
does not do readline
support (i use ctrl+L
, ctrl+R
, tab
completion, ctrl+e
/ctrl+a
and other goodness quite a lot in my
irb
).
ctrl+shift+n
/ctrl+n
for finding files and getting around; with
alt+f1
to show current file in different contexts/viewsctrl+f12
for current file structurectrl+click
when mousing over (jump to all kinds of things,
including template names, css style names – all of it very nicely
integrated)ctrl+/
for toggling commentsidea
, in case you have to
work with svn)ctrl+d
) that rivals tortoisesvn visual diffctrl+shift+up/down
to move the current linectrl+d
to clone selectionshift+delete
to delete the whole linectrl+shift+f12
to go full-screenalt+number
to toggle between tool windowsalt+7
)alt+f7
to find usagesalt+shift+f10
to bring up run menushift+f10
to run current runctrl-q
for docs is a bit wonky (frankly, i’d rather jump to
matching place in the online api docs – it gives me context)svn switch
could not be foundctrl+shift+f10
to run current test (and any other ad-hoc run
tasks) does not work on cygwin, unless you do RAILS_ROOT
trick
abovei have not tried all the other stuff, like haml support, cucumber support, rspec, and rspec w/ drb.
overall feel is nice and polished – most things just work out of the box (unlike the frankenstein monster that eclipse can be sometimes – truly a Windows of IDEs).
i do believe in using “idiomatic” shortcuts with an IDE, thus i did not try any of the “compatibility” keyboard modes.
for now, i do not see myself coming back to vi for rails development – for a hundred bucks, rubymine is a great development tool.