home links tools blog about

AngryPets Blog

home

Refactoring Support in C# Express is astounding


Honestly, I can't believe how good it is. An enum name has been bugging me as I'm going through some code and 'bingo' the PERFECT name for the enum type (from PersistedResourceType to SavedFileType) pops into my head.

I could zip into the file with the enum and change it there, and the IDE will give me a tiny squiggle to let me change that all throughout the project, or I can right click a reference in the MIDDLE OF NOWHERE, select Refactor | Rename and poof! it's changed everywhere - including the definition.

(I can even change it in the comments, etc.)

Honestly, I keep finding myself rebuilding everytime I do this because I'm SURE it's going to miss something (the ol' find and replace in 2003 always screwed you somehow) - but it has worked flawlessly time and time again.

(My favorite feature: change Gateway.cs to Connection.cs in the Solution Explorer, and you'll be prompted to change the class name as well (if it matches the filename) - and it will be instantly changed all through out the project. Spiffy.)


posted on Thursday, October 06, 2005 11:16 PM
 

Existing Comments:

# re: Refactoring Support in C# Express is astounding - Posted: 10/7/2005 6:31 AM - By: David Neal
   You can get the same kind of thing in VS2003 with ReSharper. I've been using it for the last 6 months or so, and it's the best thing since sliced bread ;) It does a lot more than just refactoring, and it doesn't get in the way. If you still have to spend a lot of time in VS2003, I highly recommend it.

http://www.jetbrains.com/resharper/


# re: Refactoring Support in C# Express is astounding - Posted: 10/7/2005 11:10 AM - By: Jacob Cord
   Now that's handy. Talk about technology making your life easier. And even the comments! Sweet.



Add your own comment:


Go to http://blog.angrypets.com where comments are enabled.