Click here to Skip to main content
12,950,832 members (59,246 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


2 bookmarked
Posted 23 Jan 2011

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 !


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


About the Author

No Biography provided

You may also be interested in...

Comments and Discussions

Generalplus: if you type while a "block selection" is active the se... Pin
dalek924-Jan-11 8:15
memberdalek924-Jan-11 8:15 
General5 This works in other applications as well, like MS Word & ... Pin
Indivara23-Jan-11 14:02
subeditorIndivara23-Jan-11 14:02 

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

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

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 23 Jan 2011
Article Copyright 2011 by tamash_ionut
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid