Eclipse Usage Guide

Source: Internet
Author: User
Tags ultraedit netbeans


JBuilder
http://www.borland.com/

Netbean
http://www.netbeans.org/

Sun One Studio
Http://wwws.sun.com/software/sundev/jde/index.html

Eclipse
http://www.eclipse.org/

WSAD
Http://www-3.ibm.com/software/awdtools/studioappdev/about/V5.html

Jcreater
http://www.jcreator.com/

IntelliJ Idea
Http://www.intellij.com

JDeveloper
Http://otn.oracle.com/products/jdev/content.html

BlueJ
Http://www.bluej.org/index.html

Realj
http://www.realj.com/

Gel
http://www.gexperts.com/

Codeguide
http://www.omnicore.com/index.jsp

UltraEdit
http://www.ultraedit.com/

EditPlus
http://www.editplus.com/





Eclipse Web site: http://www.eclipse.org/
Culture teaching in Eclipse: a reference in Javaworld station

(Use version: Eclipse 2.1.2 Release + Chinese culture)

Eclipse Auto-completion settings

I'm sure you'll be disappointed if you use the auto complement of Visual Studio to use Eclipse's automatic completion function.

But Eclipse is really powerful, and Eclipse's auto complement is not as good as the default settings for Eclipse's full complement. You just have to change it a little bit.

The simplest way to modify it is: Windows-->preferences-->java-->editor-->content Asist, in auto activation triggers for There is only one "." In the text box behind Java. Now you can change it to ". Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz". Then you try again, and you'll find that the complement function is almost the same as vs. You can also make advanced settings in advanced and favorite.

Use happy, if you have other eclipse use on the optimization or interesting settings or plug-ins, please share ~ ~

Some other gameplay for Eclipse see my new blog: http://rongmayisheng.com/cat/Software and tools

Hot Key article:
Template:alt +/
Modify the Office: Window-> Preferences set-> table-> button-> Edit-> content Assist.
Personal habits: shift+space (blank).
Easy Description: When editing program code, hit Sysout +template activation key,
will automatically appear: System.out.println ();.
Set Template format: Window-> Preferences->java-> Editor-> template.

Automatic typesetting of program code: CTRL+SHIFT+F
Modified by: Window-> preferences set-> table-> button-> program code-> format.
Personal habits: alt+z.
Automatic Typesetting Settings: Window-> preferences set->java-> program code format production program.
The style page-> the tab (not the SPACEBAR), and this option cancels the check
, the following number of spaces is filled in 4, which will be indented with space 4 when automatically choreographed.

Quick Execute Program: Ctrl + F11
Personal habits: alt+x
Modifications: Window-> preferences set-> Workbench-> button-> perform-> activate the previous activation job.
Easy Description: When you first execute, it asks you to execute the pattern,
Once you've set it up, just press the hotkey and it will execute quickly.
<alt+z (finished typesetting), atl+x (execution) ... I think it's handy ^___^

Categories required for automatic import: Ctrl+shift+o
Simple description:
Suppose we do not import any categories when we enter in the program:

BufferedReader buf =
new BufferedReader (New InputStreamReader (system.in));

At this point eclipse warns you that there is no import category, so we just press Ctrl+shift+o
, it will automatically help us import categories.

To view the original code using categories: CTRL + Click the left mouse button
Simple description: You can see the original code for the category you are using.

Annotate the selected text: ctrl+/
Easy Description: Debug is convenient.
Modify: Window-> preferences-> table-> button-> program code-> annotation

Scene Switch: Ctrl+f8
Personal habits: alt+s.
Modifications: Window-> preferences-> table-> button-> window-> the next scene.
Simple description: Can facilitate our fast switch editing, error-removal, and so on view.
1. can usectrl+shift+lCan be consulted, it can increase the great efficiency. 2. Ctr+h: Find the specific Class 3. F3: Equivalent to the ctr+ selected word 4.  ctrl+/: After selecting a certain area, you can add a comment directly to it. Ctrl + Shift +/can comment blocks. 5. Tab+shift: button to jump tab distance. 6. All selected +tab: You can jump forward tab distance. 7. F5 and F6: Is a common debugging button. It's very useful. 8. F4: You can view the integration structure of a class diagram in a selected class. 9. shift+ the right mouse button, you can select a row, than the direct hold right button more useful. 10. &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;CTR + Shift + o organize Import Very easy to use. 11. &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;CTR + O Quick Outline 12. &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;CTR + Shift + e  in a separate window. List all current files, 13. The &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;CTR + T query calls the function's parent function. Better than F4. 14.              alt + SHIFT + R renames the selected function  rename 15.              ctr + F3 can view class 16.            &nbSP;&NBSP;CTR + Q can return to the last edited place. Save a lot of time. 17.              atl + SHIFT + C can refactor the selected function Method signature 18.              ctr+m maxisize the active view and editor 19.              alt+ SHIFT + c  Modify the function name, parameters, and so on. 20. &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;CTR + shift + c  Add a comment to a row of data More convenient to use 21.              atl + SHIFT + t pop-up refactoring hint 22.              alt + SHIFT + V move 23. &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;CTR + t View integration relationships that can be conveniently positioned by locating interfaces or implementing classes.
Secret technical article:
A set of Eclipse can be switched at the same time, English, traditional, simplified display:
1. First of all, to install the Chinese culture package.
2. After the shortcut to the desktop, add parameters,
English->-nl "Zh_us"
Traditional->-nl "ZH_TW"
Simplified->-nl "ZH_CN".
(Other languages, etc.)
As I 2.1.2 in culture, I add parameters-n1 "Zh_us" to the Eclipse shortcuts on my desktop.
"C:/Program Files/eclipse/eclipse.exe"-N "Zh_us"
The interface will change back to the English language chatter.

With Eclipse, you don't have to rearrange your program code to edit a document in Word:
Copy the program code throughout the Eclipse program edit area (Ctrl + C), and paste (Ctrl + V) directly into
On word or WordPad, you'll find the program code format in Word, with eclipse
Set exactly the same, including font, indentation, keyword color. I've tried JBuilder.
, GEL, NetBeans ... When using copy paste, only indented format, font, Yan
Color and so on will not change.

External article:
Plug-in installation: The plug-in download back, after its decompression, you will find features,
Plugins these 2 folders, copy or move everything inside to Eclipse's features
, plugins, and then reactivate Eclipse.

Allow Eclipse to use drag-and-drop to build the plug-in of the GUI like Jbuilderx:
1.Jigloo swt/swing GUI Builder:
Http://cloudgarden.com/jigloo/index.html
Download this version: Jigloo plugin for Eclipse (using Java 1.4 or 1.5)
After installation, you can select the GUI type to be constructed by the file-> new-> other->gui form.

2.Eclipse Visual Editor Project:
http://www.eclipse.org/vep/
Click Download Page below, then click Latest Release 0.5.0 to enter the download.
In addition to Ve-runtime-0.5.0.zip to download, the following 2 are also:
EMF Build 1.1.1: (Build page) (Download Zip)
GEF Build 2.1.2: (Build page) (Download Zip)

3.0 M8 version, please download:
EMF Build I200403250631
GEF Build I20040330
Ve-runtime-1.0m1

Once the installation is successful, the UI design can begin with File->new->visual class.
After the installation is successful, you can choose from the new->java->awt and swing
The type of GUI to be constructed begins the design. ve must cooperate with the corresponding
Version for normal use, or even if the installation is successful, use will still
There is a problem.

Install plug-in method, in order to Chinese plug-in example:

Before I start, I'm talking about my environment, the Eclipse version eclipse-java-indigo-sr2-win32-x86_64, the operating system Win7, but this basically doesn't affect. The one with the Scarlet letter, you need to select the address below.

Open Address http://www.eclipse.org/babel/downloads.php

Select the following address according to the Eclipse version you have downloaded and copy the backup

Open Eclipse->help->install New Software ...

Paste the address you just copied.

Click Add ..., give name.

Click OK and you will find that the program is unresponsive, and it is not not found in Eclipse's lower right corner.

This is in the Loading language list, depending on the speed, I 4M of bandwidth, less than 10 minutes. The following dialog box appears when you are finished

Choose ... in Chinese (simplified) is the Simplified Chinese, next to the one that is traditional, English good do not need me to say ...

Then click next>

Keep next>.

Needless to say, you have to click on that I accept the ..., then click Finish, then come out below the dialog box, just wait.

In a moment, of course, it depends on your speed situation, this is good, the middle will let you click OK, I forget the screenshot, and then restart Eclipse is good, open again, you may feel cordial, Chinese ah ...

Well, that's it, good luck.
plug-in address Eclipse download
emf,gef-graphical Editor framework,uml2,ve-visual Editor are here to download
http:// www.eclipse.org/downloads/index.php

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.