Java Development tool Configuration UltraEdit

Source: Internet
Author: User
Tags command line key variable ultraedit
Make sure your JDK environment variable configuration is correct.
For Java beginners, compiling and running Java programs is a pain in the neck.
Obviously, it's a lot of trouble to compile and run a Java program in a command mode,
And when we don't want to use large development tools, UltraEdit is a good choice,
Many beginners use it to write Java source files, you can display a high brightness keyword.
1. The keyword displays high brightness.
Open ultraedit-> View-> highlight type->java;
At this point in the UltraEdit input Java program, the keyword and the Java package class can be high brightness display,
There are also comments ah, if you do not like its default color, you can change it yourself.
Select Advanced-> configuration-> Syntax highlighting (one tab of the dialog box) in the top menu bar-> language->java
You will be able to gametes your own favorite color.
2.javac and Java are integrated into the UltraEdit toolbar.
Integrate Javac and Java into the UltraEdit, you don't have to go to dos every time you execute your Java program.
, you can write like VC C + + program directly build and run a bit on it. Here we go!
Advanced-> Tool Configuration//Pop up a dialog box for tool configuration
At the command-line input Javac%n%e//%n represents the current path,%e represents the current file name for execution.
Enter%p under working directory
menu item name, make yourself a nice one.
check box and Single box select three: Save the active file, output to the list box, capture output
Note: Javac%n%e compiles the Java programs that are not the default packages and does not generate the corresponding folders, so you can javac-d. %n%e
OK, you can press the "Insert" button, you can build your Java program, but not yet run your Java program, in the configuration of the run Java program tools
Command line: Java%n
Working directory:%p
The others are the same.
Now you can look at what's underneath the top menu.
But now it's only on the menu, I'm going to put it on the toolbar.
OK. -> the right mouse button on the toolbar-> custom
Select Toolbar new toolbar (not available)
Select command-> Advanced Find your custom user tool 1 and User Tool 2, drag them to your custom toolbar, but the icon is not very good-looking ah, it does not matter ah, will be put, you can change the icon. Let's change the icon: Do you remember how your build and run came from just now?
Advanced-"Tool Configuration"
Select Java or Javac and then click Advanced See Pop-up dialog box, you know what to do get, give your tool to find a good-looking icon, not too big, if there is no ready-made words can use VC to make a few ah.
There are still a lot of Java beginners to ask, I VC can press what F5 AH F11 ah to compile and run, here can ah, yes, we will configure to put:
Advanced-"Configuration-" hot key mapping to find advanced-user tool 1 and User tool 2, they can assign their favorite hotkey.
3. This function is not a strange thing to everyone, and then delphi,vc,jbuilder and other tools inside, you enter a variable, you will pop a box to choose the function you need. But I think this is not suitable for beginners. Or in the hot key mapping, find the edit-auto completion can be assigned hotkey. After the assignment is complete. Restart your ultraedit, but when you enter SYS, press some of your hotkey to see what it looks like, but not as vc,delphi as it is.


Related Article

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.