Recent Posts
Calendar
November 2013
S M T W T F S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Posts Tagged ‘Refactoring’

Renaming Properties, Methods and Variables

B03B0065 Have you ever written some code and named something one thing only to realize that it should be named something else?

If you haven’t you haven’t been programming for very long.  Maybe you started a new job and you spent two weeks writing code using your previous employer’s naming conventions only to find out that this employer expects things to be named slightly differently.

So now you not only have the item named incorrectly, but you’ve referenced it from other files, so it isn’t a simple matter of just giving it a new name.  No, the code that is referencing it has to be changed as well.  So what are you going to do?

Read the rest of this entry »

VB.NET and CSharp Refactoring

misc_vol4_008

I sent out the following tweet last week:

“Where’s the refactor menu option?!  Oh, wait.  This is VB.NET, they don’t have that feature.”

Almost immediately, I got responses.  The most helpful was from @RoryBecker letting me know about CodeRush XPress by Devexpress.com

This tool does way more than I was immediately looking for and it is free.

Instead of just allowing me to promote a block of code to a method it will:

Read the rest of this entry »