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.
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.
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!
Re: IDE - Change case when declaration changed
Quote:
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.
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.