Saturday, March 29, 2014

ref: The CLI refactoring tool

So one of my coworkers tried to bully me into using Xcode for modifying files. I'm no longer a fan of IDEs like I was in years past so I politely declined as I have vim setup with NERDtree and CommandT. The only thing that I still have to use an IDE for is really java. Especially Java code that I didn't write myself and is ultra verbose with pyramids of class hierarchies to write the most trivial programs!  Regardless, this person who shall remain to be unnamed, insisted and pointed to the refactoring option of Xcode and other IDEs as a huge time saver.

At first I got annoyed.  Why are u forcing your style on me I thought to myself!  Then I realized to my own dismay that he was right.  I didn't even bother telling him I could do something kinda sorta similar with some combination of sed, find and grep.

I then decided to do something about it and ref was that something.  Not sure if I like the name but who cares lol.  Check it out @https://github.com/asharif/ref

Here is a sneak peak!