Refactoring in VB6

2007-10-22

    I just got handed a click event with 19 pages of code. Yep, you read it right: nineteen pages!

    What can I say? My need for a refactoring tool that works in Visual Basic 6 became immediate. Luckily I found CodeShine through a little googling.

    It doesn’t do a lot, compared to Refactor! and Resharper, but the things it does are invaluable. Its functions are: Extract method, Introduce Explaining Var, Extract function, Localize module variables and Rename.

    At about SEK500:- I’d probably pay for it with my own money if I would need it more than the 21 days I can try it for free. This is a tool everyone maintaining crappy legacy VB6 code should have.