Home > Backend Development > PHP Tutorial > UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial

WBOY
Release: 2016-07-12 08:56:00
Original
1444 people have browsed it

UltraEdit advanced usage skills, ultraedit usage skills

UltraEdit is a bright spot among many IDEs. It has powerful functions. Here are some of its useful functions .

Column Mode

Many people initially liked UltraEdit because of its column mode.

Enter column mode: Alt C

How to comment multiple lines

1 Enter column mode
2 Select multiple rows
3 Add comment character

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial

Calculate the sum of multiple numbers in a column

1 Enter column mode
2 Select the column for statistics
3 Column -- Column selection statistics

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial[5]

For more column mode operations, please refer here

Scripts in UltraEdit

The script only supports ASCII/ANSI files encoding, UTF-8 will cause errors

Several commonly used commands

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

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial[7]

UltraEdit.activeDocument.write("")
Enter text for the currently active article

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

UltraEdit.document.length
Get the number of currently open documents
Use UltraEdit.document[x] to enumerate the currently open documents

UltraEdit gets the contents of the clipboard
UltraEdit.clipboardContent

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

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

The simplest hello world script

A

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

Save as test.js

B

Script -- Script -- Add

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial[9]

C

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial[11]

Note: During the debugging process, all errors will be printed in the output window, so if the program fails to run, please debug in the output window, or you can use UltraEdit.outputWindow to debug

How to jump between functions and classes?

Eclipse’s Ctrl mouse jump function is what many people like, and UltraEdit also has this function

Use ctag

1 Create a project
2 Project--Create ctag file
3 Press F11 to locate the function definition

UltraEdit advanced usage tips, ultraedit usage tips_PHP tutorial[13]

Some other tips

How to save the current Ultredit settings

Advanced -- Customized Backup/Restore

Please refer here for more operations

How to remove blank lines

Use replace directly (ctrl R)
"^p$" is replaced with ""

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1114986.htmlTechArticleUltraEdit advanced usage tips, ultraedit usage tips UltraEdit is a bright spot among many IDEs. It has powerful functions. Here are some of its useful functions. Column Mode Many...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template