Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

2011-07-08

Bash/Emacs Rename Refactoring

In my last post I was talking about using Emacs as an IDE for Scala. I imagine you might have a range of objections to such a thing. For instance, what about renaming a class? Between bash and Emacs, it's easy enough. Suppose I want to rename a class from BeezleBopple to BoppleBeezle. Assuming I am confident that there are no occurrences of the text "BeezleBopple" in my code that is not a reference to this class, (this is never really a problem for me, as I tend to name my classes things like CurrentBatchSelectionChangedEvent), I can perform the following steps.