Eclipse Usage Tips

Source: Internet
Author: User
Tags assert

2014 Annual Breakdown Industry Report Collection manufacturing Industry Report Internet Industry Report agriculture, Fisheries and fishery Industry Report


Plug-in article:
Plug-in installation: After the plug-in download, after the decompression, you will find features, plugins these 2 data folders, will be copied or moved inside the eclipse features, plugins Data folder, restart Eclipse.

Let Eclipse build the GUI plug-in like Jbuilderx, using a drag-and-take approach: 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 type of GUI to be constructed by the other->gui form, file--new.
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) (Downlo Ad 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 be started by file->new->visual class. Once the installation is successful, you can start with the new->java->awt and swing to choose the type of GUI you want to construct. ve must be compatible with the corresponding version, in order to use the normal, or even if the installation is successful, the use will still have problems.

Using eclipse to develop JSP programs: Plug name: Lomboz (Download page)
http://forge.objectweb.org/project/showfiles.php?group_id=97
Please select the appropriate version of the Lomboz download, Lomboz.212.p1.zip represents the 2.1.2 version, Lomboz.3m7.zip represents the M7 version ....   And so on Lomboz Installation and Setup teaching: Eclipse Development jsp-Teaching documents

Java to EXE chapter:
Implementation: Eclipse is paired with Jsmooth (free).   1. First make a jar containing manifest from eclipse. Production teaching
2. Use Jsmooth to package the good jar into EXE.


Jsmooth download page:
http://jsmooth.sourceforge.net/index.php
3. The finished EXE file can be executed on Windows with the device JRE.
Eclipse-java Editor Best settings:
Editor font settings: Working table, font->java editor text font. (Recommended setting Courier New-regular 10)

Editor-Related Settings: window, Preferences->java-> editor

Appearance: Display line number, emphasize symmetrical display square brackets, emphasize display current line, display print margin, check it, tab width set 4, Print Spacing field set 80. Program code assistance: Mining presets 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 preset can be adopted. Guided tour: The preset can be adopted.

The effect of automatic typesetting, the most consistent with the Java design practice settings: Automatic Typesetting settings: window-like settings->java-> program code production format.
Line break: All not checked.
Branch: Maximum line length: 80.
Style: Insert blank check only after forced transition. Number of spaces in indent: set to 4.

Eclipse's Teaching Documents:
Eclipse 3.0 Series Hotkey Table-Bilingual commentary version (by Sungo) ~new~ WINDOW+GCC+CDT Development C, C + + (by Sungo) ~new~ with Eclipse
Other:
Expand Eclipse's Java development tool (Chinese) using Eclipse to develop the EE application (Chinese) use Eclipse Platform for debugging (Chinese) XML development with Eclipse (Chinese) Developing Eclipse plug-in (Chinese)
Internationalize your Eclipse plug-in (US) Add the Swing editor to eclipse
How to test your Eclipse plug-in in line with international market needs (US)
Related Sites for Eclipse:
http://eclipse-plugins.2y.net/eclipse/index.jsp http://www.eclipseplugincentral.com/


Eclipse-related teachings [English]
Write program write to very tired, want to rest?? It's a good choice to play a little game, and here's how to play game plug-in with Eclipse.
Add-ons: eclipse-games:
http://eclipse-games.sourceforge.net/
Version selected: Latest release 3.0.1 (Release Notes) Sat, 3 Jan 2004
Once the plug is installed, turn on eclipse again.
window, custom view, other--tick game Actions.   Then turn eclipse off and restart again to start playing chatter. (A total of 4 species: Mine I, mine II, bulimia snake, Warehouse pan. )
(Eclipse 2.1.2 + Chinese culture play game-warehouse fan)
Supplement: (for Eclipse using the assertion mechanism) Eclipse version: 2.1.3 release.

JDK1.4 version of the newly added assertion mechanism (keyword: assert), because the JDK1.4 compiler preset is compatible with 1.3, so to use assert must be at compile time with the-source 1.4 parameters.
C:\>javac-source 1.4 Xxx.java
Execution must be started with the-ea or-enableassertions parameter.
C:\>java-ea XXX
To use the assertion mechanism in eclipse, make the following settings: Set one: (Compile settings)
Windows->preferance->java->compiler->compliance and Classfiles page. Will.. JDK Compliance Level->compiler Compliance level is tuned to 1.4.
Setting Two: (Execution setting)
Run->run-> (x) =arguments page, add-da parameter to VM arguments, press run button to see execution results after starting assertion.
(Eclipse 2.1.3 Release + assertion test)
<assert discriminant to False, so show out assertionerror>

The new version (m8+) of Eclipse can set up VM arguments in addition to an attempt to add a VM arguments when Eclipse is launched (as in the case of increasing eclipse preset memory size)
So you don't have to set up VMS every time you run arguments

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.