How to align code in vc6.0

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.