From: http://qiusuoge.com/7850.html
Use shortcuts to align messyCode, In writingProgramSometimes, only the programAlgorithmAnd forget the code indent format. As a result, a piece of code is very messy. In this case, you can press Alt + F8 to align the code.
In an instance, you often use shortcuts to align irregular code lines. If you do not use the shortcut keys, it is a waste of time to align one line, however, the use of shortcut key alignment must be within a certain encoding specification. If you write all the code in one row, the alignment cannot be completed.
Convenient way to move multiple lines of code.
In Visual C ++, there are still many shortcut keys for moving enough lines of code. For example, the shortcut key for moving multiple lines of code to the left is SHIFT + Ctrl + M, the shortcut key for moving multiple lines of code to the right is the tab key. Both methods keep the original Alignment Method unchanged for overall movement.
Tested, these shortcut keys are indeed feasible!