Several useful functions in UE

Source: Internet
Author: User

1. Specify the Directory and file type to batch find the target string

Example: Search for the "Main" string in *. h and *. cpp in the H: \ qtdemo directory (including sub-Directories ).

Search Result:

2. Search for the target string in the current activity window (CTRL + F)

(1) List rows containing strings (2) calculate the number of searches

Example: Search for newmtl

3. Regular Expression replacement (CTRL + r)

Example: Replace "KD * ^ P" with "KD 0.00 0.00 0.00 ^ P"

* Represents any character. ^ p represents the carriage return character in windows.

Result verification after replacement (all are replaced with "KD 0.00 0.00 0.00 ")

4-block deletion and Block Splicing (Alt + C)

Example: block Deletion

First, select the target block column to be deleted.

Then press del to delete the content of the selected block.

5. Sort the file content by row

6. character encoding conversion

UE is indeed a powerful text editing tool that provides many rich and useful functions.

If you want to, you can also writeCode(It can be colored based on the Code content), which is equivalent to a simple IDE.

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.