Renaming in dynamic languages


I recently worked on a Java project, and the ease of renaming classes
and variables (via IDE) really blew my mind.

So, I wrote a somewhat-crude tool to make the experience of renaming
things in Ruby 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:

And a video of a typical use case:

I'm wondering if this tool addresses a problem that other Ruby
developers have encountered. Is it useful to you? What do you think I
should change about it?

-Wai Lee


Posted via