Turn from: http://qiusuoge.com/7850.html
Use shortcut keys to align messy code, when writing programs, sometimes only consider the algorithm of the program, and forget the code indentation format. Causing a piece of code to write out is very messy. At this point, you can press the ALT+F8 key combination to align the code.
Using shortcut keys to align multiple lines of irregular code in an instance is a waste of time if you do not use the shortcut, but it is very time-consuming to align with a single line, but it is also necessary to use shortcut key alignment in a certain coding specification. If you write all your code on one line, you cannot complete the alignment.
A shortcut to move multiple lines of code.
There are a number of shortcut keys that can move code more than one line in Visual C + +, such as a shortcut key that moves multiple lines of code to the left shift+ctrl+ M, and a shortcut key that moves multiple lines of code to the right as a whole is the TAB key. Both of these move methods keep the original alignment method intact and move the whole.
After testing, these shortcuts are really feasible.