Welcome to MSDN Blogs Sign in | Join | Help

Selecting a Block of text

Regardless of the new framework features – copy and paste is still one of my favorites. One of my favorite tricks is selecting a block of text. By default normal text selection is line by line. For example it’s not possible to select just the items to the right of the equals sign.

 

However, Visual Studio does offer this ability using block selection. Block selection is sued to select text in a block as opposed to line by line. Essentially allowing you to select text regardless of what line you are on. For example, select the <ALT> key while selecting text to do the following.

Block selection can be used with both the keyboard and mouse. When using the keyboard hold down the <ALT> + <SHIFT> and use the arrow keys to perform the block selection.

 

Published Monday, December 01, 2008 9:18 PM by trobbins

Comments

# infoblog &raquo; Selecting a Block of text

Monday, December 01, 2008 9:48 PM by infoblog &raquo; Selecting a Block of text

# re: Selecting a Block of text

Wednesday, December 03, 2008 2:55 PM by Mike

Nice tip, I had no idea you could do this in VS.

Thanks!

New Comments to this post are disabled
 
Page view tracker