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:


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:


And this is the final result:



Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s