Deborah's Developer MindScape

         Tips and Techniques for Web and .NET developers.

April 4, 2010

VS 2010: Box Selection New Features

Filed under: C#,VB.NET,Visual Studio @ 10:56 pm

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.


1 Comment

  1.   Hazem Mohammed — April 10, 2010 @ 12:26 am    Reply

    This is amazing, i was waiting for this feature.

RSS feed for comments on this post. TrackBack URI

Leave a comment

© 2021 Deborah's Developer MindScape   Provided by WPMU DEV -The WordPress Experts   Hosted by Microsoft MVPs