There is a feature in Delphi IDE (Borland Developer Studio 2006) which allows to edit some variable in "sync mode". For example if you have a code snippet like this.
You can select the text you want to modify (in this case the complete procedure) and start editing a variable name. It will be edited at all the places (except string literals): screenshot.
It is different from refactoring since the scope of change is limited. Its simple and fast. I loved this facility.
Now I have started using Visual Studio for past some time and miss something like this. Please can you suggest anything to achieve the same effect in Visual Studio?
For this feature you will probably have to use CodeRush from Dev Express.
It has something similar to this.
In Visual Studio 2005/2008 there is a similar feature. If you edit for example a variable or method name, a little red box appears at the bottom right side of the word. Click it or press Shift + Alt + F10 to open a small menu that allows you to rename all occurances of the identifier. However, that does not work for comments.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With