New Features of Delphi xe2 ide code editor

Source: Internet
Author: User

For convenient and efficient writingCodeThere are many quick operations in Delphi xe2 IDE, and some may be available in earlier versions.

1. syncedit: Compile the same identifier at the same time in code editor.

1 ). select a piece of code containing the same identifier; 2 ). click the mode icon on the left of syncedit. 3) modify the first identifier and change the other identifier. If multiple groups of identical identifiers exist, press the tab key to switch.

2. quickly comment out a piece of code

1) Select a piece of code, press Ctrl + '/' to comment out a piece of code, select the code that has been commented out, and press Ctrl + '/' to cancel the comment. If no code is selected, only the current row is commented.

3. Fold and unfold

1) Right-click the code editor and click the fold or unfold command.

4. FormatSource code

1. Select a piece of code, right-click the selection area, and click format source. If no code is selected, the entire file is formatted.

5. Quickly add and remove tags (bookmark)

1) Place the cursor on the row to be tagged, and press Ctrl + Shift + number key (Note: The number key must be the number key on the keyboard)

6. Code help prompt

1) when you move your cursor over the code, a prompt is displayed. You can also press Ctrl + Shift + H to implement this function.

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.