Renaming Tool

3 points by skatenerd ↗ HN
I recently worked on a Java project, and the ease of renaming classes and variables (via IDE) was really refreshing.

So, I wrote a somewhat-crude tool to make the experience of renaming things in Ruby (or other dynamic languages) a little bit nicer and more IDE-like.

The primary use case I had in mind was renaming a class, along with all of its associated "require" statements, all in one go. For a heavily-used class, this can be a little annoying.

You can find the source here: https://github.com/skatenerd/rbname

And a video of a typical use case: https://vimeo.com/82157486

I'm wondering if this tool addresses a problem that other developers have encountered. Is this useful to you?

1 comment

[ 2.5 ms ] story [ 10.3 ms ] thread
RubyMine does this for Ruby as well, if you're not against not using emacs/vim/needle&hand