Usage of ultraedit

Source: Internet
Author: User
Tags ultraedit

1. manually configure syntax highlighting
[Advanced]-> [configuration]-> [Editor display]-> [syntax highlight]-> [full path of word list]-> [browse] find words in the installation directory
Select and confirm the wordfile. UEW file of the Chinese file. Then, in the [view]-> [view mode (highlighted file type)] list, you can find
The program language syntax should be highlighted.
 
2. Customize the right-click function list
Right-click the editing area and choose [custom menu] to customize the right-click function.
 
3. Modify the background color of the active row.
By default, the color of the active row in ultraedit is light blue. The color of the active row in the program is the same as that in the keyword, so the keyword cannot be distinguished.
Is the spelling correct. Modify the value as follows: [view]-[set the color (if the value cannot be found, switch to the English version of advance)]->
[Activity line] change the background color to white and the text color to black.
 
4. open the file tag
If you cannot open multiple files, perform the following operations:
[View]-> [view/LIST]-> [open file tag]
 
5. Prevent automatic backup of. BAK files.
Advanced-> Configuration-> file handing-> Backup, in the box below [backup file when saved], select do not back up
 
6. Replace the environment
View> environment> notepad replacement
 
7. Compile and run Java programs in ultraedit
Requirement: the file path for storing the Java source program does not contain spaces. Be sure to ignore the space. Otherwise, the characters after the space are considered invalid and ignored. javac will report an error.
Compile the Java program:
A. open [advanced]-> [Tool configuration] and click the "insert" option, in the command line, enter javac % P % N % E or javac % F (% P is the path, % N is the file name, % E
Is the extension, % F is the file name with the Path Extension)
B. Enter % P in the "working directory" (indicating the directory where the file is located)
C. Fill in your favorite name on "menu item name". Here I fill in: Java compilation. Of course, you can also select the bitmap icon in the toolbar in ICO format.
D. Click the "output" option and select "output to list box" and "Capture output ". Finally, click "OK. Of course, ultraedit will automatically assign this tool
A shortcut to accelerate development.

Run the Java program:
A. Open [advanced]-> [Tool configuration], click "insert", and enter Java % N in "command line ".
B. Enter % P in the "working directory" (indicating the directory where the file is located)
C. Fill in your favorite name on "menu item name". Here I fill in: Java running
D. Click the "output" option and select "output to list box" and "Capture output ". Finally, click "OK.
 
Compile and run Java programs:
A. Create a batch file runjava. BAT (or any other file name), for example, in the C: \ command directory. The content of the runjava file is as follows:
Javac % 1. Java
Java % 1
B. Open [advanced]-> [Tool configuration], click "insert", and enter c: \ command \ runjava. Bat % N in "command line ".
C. Enter % P in the "working directory" (indicating the directory where the file is located)
D. Fill in your favorite name on "menu item name". Here I fill in: Compile and run Java program
E. Click "output" and select "output to list box" and "Capture output ". Finally, click "OK.

Finally, open the advanced menu and you will see three more lines at the bottom: "Java compilation", "Java running", "Compiling and running Java program ".
To adjust the order of commands in [advanced]-> [Tool configuration], you can change the shortcut keys.
8. Custom templates
Choose [advanced]> [display/modify template] custom template.
For example, if I name the template No. 0 as a Java test class template
Enter the following code:
Class Test
{
Public static void main (string [] ARGs)
{

}
}
Click [OK. In the [insert]-> [Personal TEMPLATE], the shortcut key of the template you just defined is "Alt + 0 ".

Usage of ultraedit

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.