Eclipse skills

xiaoxiao2021-03-06  59

Author: bluesky35 (blue) Introduction:

Hotkey:

Template: alt /

Modify: window-> preference-> workbench-> keys-> command-> edit-> content assist.

Personal habits: Shift Space.

Simple explanation: When editing the program code, play the SYSOUT TEMPLATE launcher,

It will appear automatically: system.out.println () ;.

Set the format of Template: Window -> Predictive Set -> Java-> Editor -> Template.

Program code automatic version: Ctrl Shift f

Modify: Window -> Predictment -> Workbench -> Button -> Program Code -> Format.

Personal habits: alt z.

Automatic Typing Settings: Window -> Predictive Set -> Java-> Program Code Format Producer.

Style page -> will insert Tab (rather than airbels), this option cancels

Number of spaces below 4, which is rumored in space 4 when automatic arrangement.

Quick execution program: Ctrl F11

Personal habits: Alt X

Modify: Window -> Predictive Setting -> Workbench -> Button -> Execution -> The previous startup job is started.

Simple explanation: When executed, it will ask you to perform mode,

After setting, just press this hotkey, it will execute quickly.

.. I think it is very funny ^ ___ ^

Automatic remitting the required category: Ctrl Shift O

Simple explanation:

Suppose we don't have any type of import, when we are in the program:

BufferedReader buf =

New BufferedReader (New InputStreamReader (System.in);

At this time, Eclipse will warn that there is no way to enter the category, then we only need to press CTRL Shift O

It will automatically help us Import categories.

View the original code of the category: Ctrl mouse left mouse click

Simple explanation: You can see the original code of your category.

Tap the selected text: Ctrl /

Simple explanation: It is very convenient when Debug.

Modification: Window -> Pixin Setting -> Workbench -> Button -> Program Code -> Note

Cancel the selected text: Ctrl Easy Description: Same.

Modification: Window -> Pixin Setting -> Workbench -> Button -> Program Code -> Cancel Note

View sector: Ctrl F8

Personal habits: alt s.

Modify: Window -> Predictive Setting -> Workbench -> Button -> Window -> Next View.

Simple explanation: It can be convenient for us to quickly switch editing, amplifies and more.

3.0 miles Ctrl Alt H can see the method of calling the current Member, and can go up one layer.

Ctrl O can be quickly cut to another method.

Tech article:

A set of Eclipse can simultaneously switch, English, traditional, and simplified display:

1. First install the Chinese cultural package first.

2. Adding parameters after the shortcuts of the desktop,

English-> -nl "zh_us"

Traditional -> -NL "zh_tw" Simplified -> -nl "zh_cn".

(Other languages ​​are pushed by this class)

Like I 2.1.2 Chinese, I added the parameter-N1 "zh_us" in the Eclipse shortcuts in my desktop.

"C: / Program files / Eclipse / Eclipse.exe" -n "zh_us"

The interface will change back to English.

With Eclipse, you don't have to rearrange the program code when you edit your text:

Copy the program code of the Eclipse program editing area (Ctrl C), directly post (Ctrl V) to

On Word or WordPad, you will find the program code format in Word, follow Eclipse

The setting is exactly the same, including font, regeneration, keyword colors. I have tried JBuilder.

, GEL, NETBEANS ... When using copy, only the constitutive format, the word, color

Color, etc. will not change.

Equipment:

Floor installation: After downloading the plug-in package, you will find Features,

Plugins 2 data clips, copy or move to Eclipse's Features

After the PLUGINS data end, restart Eclipse.

Let Eclipse can use drag-mounted plug-in as 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)

You can construct the GUI type to be constructed by the file after installation.

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 two must:

EMF Build 1.1.1: (Build Page) (Download Zip)

Gef Build 2.1.2: (Download Zip)

I only tested the Eclipse 2.1.2 version, which is OK!

For the 3.0 version of the user, please download:

Eclipse Build I20040324:

1.0.0 Stream Integration Build I20040325 THU, 25 Mar 2004 - 12:09 (-0500)

1.0.0 Stream Nightly Build N20040323A TUE, 23 Mar 2004 - 13:53 (-0500)

Note: 3.0 or higher, only Build i20040324 can be used normally.

After the installation is successful, you can start from the new -> Java-> AWT and Swing

The GUI type to be constructed begins with design. VE must cooperate

The version can be used normally, otherwise it will still be used even if it is installed.

something wrong.

Use Eclipse to develop JSP programs:

Plug-in name: Lomboz (download page)

http://forge.object/showfiles.php?group_id=97

Please choose the Lomboz download that suits you, Lomboz.212.p1.zip Represents version 2.1.2, Lomboz.3m7.zip represents the M7 version .... Push it in this class.

Lomboz installation and setting teaching:

Eclipse development JSP-teaching documents

Java turn EXE articles:

Implementation: Eclipse is matched with JSMooth (free).

1. First created by Eclipse, containing the JAR of Manifest.

Teaching

2. Use JSMooth to package the JAR package into EXE.

JSMooth Download Page:

http://jsmooth.sourceforge.net/index.php

3. Making completed EXE files can be performed on Windows with device JRE.

Eclipse-Java editor is best setting:

Editor Chart Settings: Workbench -> Dictionary -> Java Editor Text Dictionary.

(Suggested setting Courier New -Regular 10)

Editor Related Settings: Window -> Prediction -> Java-> Editor

Appearance: Display line number, emphasizing square brackets displayed, emphasizing the current row,

Show print margins, check it, Tab width 4, print the hoster fields 80.

Program code helps: extract.

Syntax: You can set keywords, strings, etc. display colors.

Note: Extra setup.

Enter: All fields are checked.

Floating Instructions: Extra setup.

Guide: Extra setting.

Make the effect of the automatic discharge, most in line with the Java design conventions:

Automatic Typing Settings: Window -> Predictive Set -> Java-> Program Code Production Format.

Return: All do not check.

Branch: Row length limit: 80.

Style: Only insert blank check after mandatory transition.

Number of internal stasks: Set to 4.

Eclipse's teaching document:

Expanded Eclipse Java Development Tools (Chinese)

Develop J2EE Application (Chinese) using Eclipse

Use the Eclipse platform to make the error (Chinese)

XML development with Eclipse (Chinese)

Develop Eclipse plug-in (Chinese)

Internationalization of your Eclipse plug-in (English)

Add Swing Editor to Eclipse (English)

How to test your Eclipse Plug-in compliance with the international market demand (English)

Eclipse Related Websites:

http://eclipse-plugins.2y.net/eclipse/index.jsp

http://www.eclipseplugincentral.com/

Eclipse related teaching [简体]

转载请注明原文地址:https://www.9cbs.com/read-113854.html

New Post(0)