Developer Express Refactor is a seriously cool tool!
I just love Refactor :-)
Some of my favorite refactoring options are:
- Move Type to File
Sometimes I am just plain lazy and create a new type in the same source file as an already existing one. Only later I need to clean up and move it to a separate file. I used to do so with cut and paste but no longer :-)
- Rename Local
Renaming a local variable, or a field for that matter, becomes a breeze. And best of all you don't need to go to the declaration, you can do it at any place the variable is used.
- Optimize Namespace References
This removes unneeded namespace references at the top of the source file. While I like this a lot it needs to be improved just a bit because it sometimes misses a place a namespace is used :-(. And one thing I would like to see it do is sort the namespace references as well. Still very useful :-)
Below a small demonstration of how these refactorings can be used.