VisualStudio rectangular select

In Visual Studio one can do a rectangular selection of text and edit the selection with text that is multiplied on each of the selected row. (Hmm this is a bit hard to explain, but you could have a look at the demo below).

Let us suppose that in the Visual Studio editor we have the following content:

VS_RectangularSelect_1

Hold the ALT key and than drag the mouse to select a rectangular area that spans over the public keywords:

VS_RectangularSelect_2Now, with the selection active start editing the text:

VS_RectangularSelect_3

And this is the final result:

VS_RectangularSelect_4

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s