VS 2010: Box Selection New Features
Box selection has been extended in Visual Studio 2010 to include text insertion. (If you are not familiar with the Visual Studio box selection feature, see this prior post.)
Box selection with text insertion allows you to select a block set of text in Visual Studio and replace it with alternate text.
Begin by holding down the Alt key and selecting the text to replace.
In C#:
Then type in the replacement text:
In VB:
Then type in the replacement text:
Typing "Private" one time replaces all of the lines within the box selection with the typed text.
Very cool.
Enjoy!
Hazem Mohammed — April 10, 2010 @ 12:26 am
This is amazing, i was waiting for this feature.