Cool Visual Studio 2010 Feature Vertical Editing
Ever have a block of code that you need to make a changes to? It gets a bit tiring changing each line with the keyboard. I ran across a cool feature of Visual Studio 2010 that helps to solve this.
For example, if you have the following list of variables
You realize that you need to place an I in front of the variable names. Using the vertical editing feature you can change all lines at once. By using the following steps:
1. Press the <Alt> key and select the block where you want to add the text
2. Release the <ALT> key and press 'i"