Click here to Skip to main content
Click here to Skip to main content

Tagged as

How to select a block of text in Visual Studio

, 23 Jan 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
How to select a block of text in Visual Studio
A very neat feature that I have found (experienced programmers know it already) is how to
select a block of source code:
 
Press Alt Key and select a block of code while pressing the click button.
 
Very useful in formatting code that you have copied from web and paste it in Visual Studio and has line numbers attached to it.
 
Hope this helps someone.
 
Cheers !

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

tamash_ionut

Unknown
No Biography provided

Comments and Discussions

 
Generalplus: if you type while a "block selection" is active the se... Pinmemberdalek924-Jan-11 9:15 
General5 This works in other applications as well, like MS Word & ... PinsubeditorIndivara23-Jan-11 15:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.1411028.1 | Last Updated 23 Jan 2011
Article Copyright 2011 by tamash_ionut
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid