UltraEdit advanced usage skills and ultraedit usage skills

Source: Internet
Author: User
Tags ultraedit

UltraEdit advanced usage skills and ultraedit usage skills

UltraEdit is one of the highlights of many ides. It has powerful functions. Here we will talk about some of its useful functions.

Column Mode

Many people prefer UltraEdit because of its column mode.

Enter column mode: Alt + C

How to annotate multiple rows

1. Enter the column mode.
2 select multiple rows
3. Add annotator

Calculate the sum of multiple columns

1. Enter the column mode.
2. Select columns for Statistics
3 columns -- Column Selection statistics

For more column mode operations, refer to here

The Script script in UltraEdit only supports ASCII/ANSI files encoding, And the UTF-8 is a few common commands that may cause errors

Var str = UltraEdit. getString ("Please Enter a String:", 1 );

UltraEdit. activeDocument. write ("")
Input text of the current active article

UltraEdit. getValue ("Please enter an integer", 1 );
The display interface is the same as UltraEdit. getString.

UltraEdit.doc ument. length
Obtain the number of currently opened documents
Use ultraedit.doc ument [x] to enumerate the currently opened documents

UltraEdit: Obtain the content in the clipboard.
UltraEdit. clipboardContent

Obtain the clipboard serial number and select the clipboard
UltraEdit. clipboardIdx
UltraEdit. selectClipboard (2 );

Output to the output box
UltraEdit. outputWindow. write ("This is a test .");

The simplest hello world script

A

12 var str = UltraEdit.getString("Please Enter a String:",1);UltraEdit.activeDocument.write(str);

Save as test. js

B

Script -- script -- add

C

Note: All errors are displayed in the output window during debugging. If the program cannot run properly, debug the program in the output window, or use UltraEdit. outputWindow for debugging.

How do I redirect functions and classes?

Many people like the Ctrl + mouse jump feature of Eclipse, which is also available in UltraEdit.

Use ctag

1. Create a project
2. Project -- create a ctag File
3. Locate function definitions by F11

Other Tips: how to save the current Ultredit settings

Advanced-custom backup/recovery

For more operations, refer to here

How to Remove empty rows

Directly use replace (ctrl + R)
"^ P $" Replace ""

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.