Visual Studio Tricks


Visual Studio (2005,2008,2010) Tips and Tricks.


#503 New Block Select in Visual Studio 2010

We’ve had block select in Visual Studio for a long time. The idea of block select is simple, sometimes you want to select columns and rows (in a block) instead of the normal line by line select you get with normal drag-n-drop selection, or [SHIFT]+[ARROW] selection. We talked about this for older versions of studio on Trick number 002. Watch Trick number 503, to see what’s new in Studio 2010.

Click Screenshot To Play Video

#503 New Block Select in Visual Studio 2010

Runtime: 1Minute 40 Seconds - Resolution: 900 by 580 - File Size: 1.6 Meg

Direct Download: If the video does not work for you,
Click Here to download it.

Visual Studio Tip / Trick #503 English Transcription:

Today’s Visual studio trick of the day trick No. 503 is block select. Now there is some new stuff that we have in Visual Studio 2010. So if you are not familiar with block select here is the idea. With the normal drag and drop of your mouse of even using the keyboard [SHIFT]+[DOWN] you get a line select so it actually selects all of your text. If you prefix either one of those actions with the [ALT] key so holding down your [ALT] key and then doing a drag and drop you can do a block select. That was actually true in Visual Studio 2005, 2008 and 2010. The same thing is true with [ALT] key with a arrow so [ALT]+[SHIFT],[DOWN] you can see that we can do the same block select with the keyboard. So here what’s new in Visual Studio 2010. Typing lets say we wanted to not only block select but we actually wanted to replace that, so lets just type in ‘Replace’ there and you will see that all of those attributes were replaced appropriately. Now it doesn’t work in this case very well for us because it’s an XML note that we are editing but we do have the ability to block replace now. So my [CTRL]+[X] to cut and [CTRL]+[V] to paste works as we’d expected now again its new in 2010. In 2008 you can do a block select but you could not type to replace on multiple lines, that’s something brand new and exciting Visual Studio 2010. We’ll see you on the next trick.
Kick this Trick on DotNetKicks.com

2 comment(s) so far

  1.  avatar

    That's killer! Thanks for the "trick" yo. ;)

Post your comment

Thanks for your comments


Be nice ;)

  • Comment

RSS Feeds

All Technology Posts

Scott Cate Main Blog Feed


Visual Studio Tricks Only Feed

@ScottCate on Twitter

Facebook Profile

Twitter @ScottCate

  • 600,000,000 (yes 600 million) desktops and devices have #Silverlight Installed http://SC8.me/bCXTt6
  • The future of Silverlight with #HTML5 http://sc8.me/bCXTt6
  • My good friend walked into the casino this week and won a Brand New 2010 Camaro #FB
  • @ScottDotNetVet nice - everyone loves that temp project tip/trick #vs2010
  • PHX Free Entity Framework 4 Event 12:30-5, Sept15th http://sc8.me/9LqYo7

GetClicky Web Stats

Web Analytics