First, generate the "Compilation Java Program" tool item 1. Start UltraEdit, click Advanced "in" Menu ", select" Tool Configuration "in the pop-up menu. 2. Enter: c: /jbuilder9/jdk1.4/bin/javac.exe% P% N% E (Note: This is where JDK1.4 in my computer, please enter correctly JDK's directory) 3. Enter:% P4 in the "Work Directory" column. In the "Menu Project Name" column input: Compile Java Program 5. Select in the DOS Command Outbox: "Output to List Block", "Show DOS Box "and" Capture Output "6. Click the" Insert "button on the right. First, generate the "Execute Java Program" tool item 1. Start UltraEdit, click Advanced "in the Menu, and select" Tool Configuration "in the pop-up menu. 2. Enter: c: /jbuilder9/jdk1.4/bin/java.exe% n (Note: This is where JDK1.4 in my computer, please correctly enter the directory where JDK is located) 3. Enter:% P4 in the "Work Catalog". Infault in "Menu Project Name" column: Execute the Java program 5. Select: "Output to List Block" in the DOS Command Outbox, "Show DOS BOX" and "Capture Output" 6. Click the "Insert" button on the right.
There are several parameters:% P PATH The path where the currently open file is located, such as: C: / Project / Test /% N file name (without extension), such as: Test% E file extension, such as: .c, .java, etc. (Note the first bit of the string will be an English period)% F When equal to% p% n% e, such as: c: /project/test/test.c, the above parameters are represented 8.3 DOS compatible format short path and short file name, lowercase represents long path and long file name. Windows 98's DOS window does not accept long path names, so it should be noted when using lowercase parameters, it is best to include English double quotes, such as "% P", so that the DOS window can accept the value returned by this parameter. For details, please refer to my other article "The difference between CMD and Command". % Modify% In some cases, you may need to manually enter some parameters when you run. Adding this% modify% parameter When you run, call up the dialog box to prompt you other parameters or cancel the run. % SEL% This parameter indicates that UltraEdit adds part of the current document to% SEL% in the command line. If you use the UltraEdit project function, or the file being edited belongs to a project, there are some additional parameters to use:% R Return to the project file The directory full path and the project name (% R return long path,% R returns a short path) % RP returns a directory full path (% RP return long path,% RP return short path)% RN returns the project name belong to the project file (% RN returns long path,% RN returns a short path) in the "command line The Command Line) "The text box is best not to enter the full path full file name, because the" Work Directory "indicates the current file working directory.
Second, go out keyword check
I used to feel that UltraEdit is very inconvenient. If you want to name a class as file, it will automatically change it to File, and finally find a solution, as shown below: Remove the Auto Correct Keyword option.
Third, the prompt function
The usual software has auto-completed features, and UltraEdit can also implement 1, first talk about keywords in Java, all kinds of names, methods, etc. Write on a text file, as follows, Class Private public ...
Then collect text
2. Select Menu Advanced -> Configuration -> Edit, fill in the address of the text file above after "Auto Completion File" (you can choose)
3, select the menu advanced -> configuration -> quick key map, select Edit in the command - Automatically complete, then register a Ctrl Alt Space on the right (default to Ctrl Space, English this button Open the input method in Chinese So add an alt, you can also set it into other keys, as long as there is no conflict.)
4, now your IDE has the function of automatic completion