Dennis van der Stelt

The only way to win is to learn faster than anyone else

Community

Email Notifications

News

  • Addicted to Refactor! Pro

I read...

I Use...

Tags

Recent Posts

Archives

Blog Subscription Form

  • Email Notifications
    Go

Refactor! Pro goodness : Safe rename

Renames a non-private method or property in the class in a manner that does not break code in other assemblies which is dependent upon the old name.

Do I need say more? Perhaps a picture that says more than a thousand words... I wanted to rename my WriteDocumentElements method and pressed ctrl-~ in Visual Studio 2005 with Refactor! Pro installed.

 

Technorati tags:

Comments

Jan Schreuder said:

And then you manually change NewWriteDocumentElements to a more useful name? Or am I missing the point here :-)

# November 16, 2006 5:59 AM

Dennis van der Stelt said:

Hahahaha, indeed it is! :)

The green bars are there so you'll immediatly notice where the name is referenced. The shift-alt-f12 from your last article ;)

When you change one green element, all elements change with it. And it doesn't matter which element you change. Also they keep active and linked, until you press [Enter]. Pressing [ctrl]+[enter] will disconnect only one link.

A bit better than the Visual Studio 2005 refactoring options, but I don't want to start another bitslapping ;)

# November 16, 2006 6:03 AM

Dennis van der Stelt said:

One thing worth mentioning is the fact that Refactor! Pro is a DevExpress tool.

# November 16, 2006 6:07 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Please add 4 and 1 and type the answer here: