|
-
Jun 17th, 2010, 09:50 PM
#1
Thread Starter
Addicted Member
IDE - Change case when declaration changed
Is there a way to set the IDE to automatically update all usage of a variable when the case is changed in the declaration?
I know ... if I typed it correctly in the first place it wouldn't matter! And I do know how to use search/replace, I'm just lazy.
-
Jun 17th, 2010, 10:10 PM
#2
Re: IDE - Change case when declaration changed
When you change an identifier the IDE puts a little red bar under it. You can mouse over that, click the drop-down icon and then select the Rename item. Rather than using the mouse, I usually press Ctrl+. but I'm not sure if that's standard VS or added by ReSharper.
-
Jun 18th, 2010, 07:28 AM
#3
Thread Starter
Addicted Member
Re: IDE - Change case when declaration changed
Didn't pay attention to the read bar before. Ctrl+ didn't work but the other way is fine.
Thank you!
-
Jun 18th, 2010, 08:04 AM
#4
Re: IDE - Change case when declaration changed
 Originally Posted by dlscott56
Didn't pay attention to the read bar before. Ctrl+ didn't work but the other way is fine.
Thank you!
That was actually the Ctrl key and the dot key together.
-
Jun 18th, 2010, 08:27 AM
#5
Thread Starter
Addicted Member
Re: IDE - Change case when declaration changed
Ok, thanks. I need to read more carefully. That works, Ctrl+. brings up the option to run the find/replace and enter executes it. Very handy, thanks again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|