Eclipse Usage Small Full

Source: Internet
Author: User

Eclipse Usage Small Full

Submission time: Nov, 4:03:34 PM reference reply Send Message

Eclipse Benefits: Free, program code typesetting function, with medium culture package, can be increased
Set many powerful plug-ins, support a variety of operating systems (Windows,
Linux, Solaris, Mac OS X). Wait a minute.

The purpose of this post is to be able to set some of the usage techniques of eclipse
Together ... You are welcome to continue to add (due to the numerous versions of Eclipse
, I hope that the advanced of the supplementary can explain the version you are using by the way.

Eclipse Web site http://www.eclipse.org/
(Use version: Eclipse 2.1.2 Release + Chinese culture)

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 startup key, just
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 the start job before-> start.
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.

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 restart Eclipse in the Data folder.

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.

Using eclipse to develop a JSP program:
Plug-in name: Lomboz (Download page)
http://forge.objectweb.org/project/showfiles.php?group_id=97;
Please select a suitable version of the Lomboz download, Lomboz.212.p1.zip said 2.1.2 version,
Lomboz.3m7.zip represents the M7 version .... Analogy
Lomboz Installation and set-up teaching:
Eclipse Development jsp-Teaching Document

Java ext. exe article:
Implementation: Eclipse paired with Jsmooth (free).
1. Eclipse is the first to make a jar containing manifest.
Making teaching
2. Use Jsmooth to wrap the jar into an EXE.
Jsmooth download page:
http://jsmooth.sourceforge.net/index.php;
3. The completed EXE file can be executed on Windows with appliance JRE.

Eclipse-java Editor Best set:
Editor font settings: Table-> font->java editor text font.
(Recommended setting Courier New-regular 10)

Editor Related settings: Window-> Preferences->java-> Editor

Appearance: Display line numbers, square brackets that emphasize symmetrical display, emphasis on displaying current rows,
Display the print margins, tick them, tab width set to 4, and print the offset field set to 80.
Program code Assistance: the adoption of preset can be.
Syntax: You can set the display color of keywords, strings, and so on.
Note: The preset can be adopted.
Input: All fields are checked.
Floating Description: The adoption of a preset can be.
Guided tour: The preset can be adopted.

The effect of automating typesetting is most consistent with the Java Design practice setting:
Automatic Typesetting Settings: Window-> preferences set->java-> program code to make the format.

Linefeed: All is not checked.
Branch: line length upper limit set: 80.
Style: Only insert blank check after forced transformation.
Number of indented spaces: set to 4.

Eclipse's Teaching Files:
Eclipse 3.0 Series Hotkey Table-Bilingual commentary (by Sungo) ~new~
WINDOW+GCC+CDT uses eclipse to develop C, C + + (by Sungo) ~new~

Other:
Java development tools for expanding Eclipse (Chinese)
Developing Java EE applications using Eclipse (Chinese)
Debug using Eclipse platform (in Chinese)
XML development with Eclipse (Chinese)
Develop Eclipse plugin (Chinese)
Internationalization of your Eclipse plugin (English)
Add swing editor to Eclipse (English)
How to test your Eclipse plug-in in line with international market requirements (English)

Eclipse Related sites:
http://eclipse-plugins.2y.net/eclipse/index.jsp;
http://www.eclipseplugincentral.com/;


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.