VS 2010: Box Selection New Features

Posted Sun, Apr 4 2010 20:56 by Deborah Kurata

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#:

image

Then type in the replacement text:

image

In VB:

image

Then type in the replacement text:

image 

Typing "Private" one time replaces all of the lines within the box selection with the typed text.

Very cool.

Enjoy!

Filed under: , , , ,

Comments

# re: VS 2010: Box Selection New Features

Saturday, April 10, 2010 12:26 AM by Hazem Mohammed

This is amazing, i was waiting for this feature.

Leave a Comment

(required) 
(required) 
(optional)
(required) 
If you can't read this number refresh your screen
Enter the numbers above: