We all are familiar with windows select, copy and paste feature in Visual studio (Development IDE).
|
This is a common select, copy and paste where in you either use Shift + arrow keys or select text using mouse. This selection is basically selecting all columns and all rows in the text area.
Ever had the need to select only some columns to easily copy and paste the redundant code? For example, if you just want to copy all the 'Using System' from the left and then copy paste it somewhere else?
How would you select only these two words from multiple rows?
Here is the answer:
|
|
For selecting only specific columns vertically, you need to use the 'Alt + Mouse' combination to select the desired number of rows and columns. Please note that using Shift will not work here.
Just press 'Alt' key and move your mouse to select the area.
Once selected, you can easily copy and paste this text anywhere and the text's formatting will remain intact.
|
|
This method can also be used to select any area in between the lines also.
Please refer the picture to understand the selection. Once again you need to use 'Alt + Mouse'.
|
 |
Here is the result of the copy and pasting of the above text.
All these features of Visual studio make it a real good tool for development of world class applications.
|