Eclipse use skills sharing area: hotkey, plug-in, related skills ... [essence]

xiaoxiao2021-03-06  46

Preface:

I used to use JBuilderx as the main idea, but after using Eclipse

Found ... Eclipse is also so easy to use ... gradually fell in love with it ...

Eclipse Advantages: Free, program code typography function, Chinese cultural package, can increase

There are many powerful plug-in, support a variety of operating systems (Windows,

Linux, Solaris, Mac OSX .., etc..

Opening this discussion string is to hope to set some of the use skills of Eclipse

Joint ... Welcome everyone to continue to add ... Because Eclipse's version is numerous

, I hope that the additional advances can explain the version you are using ~

Eclipse website:

http://www.eclipse.org/

Eclipse Chinese Teaching:

JavaWorld Station Article Reference

(Use version: Eclipse 2.1.2 Release Chinese)

Hotkey:

Template: alt /

Modification: Window -> Predictive Setting -> Workbench -> Button -> Edit -> Content Auxiliary.

Personal habits: Shift Space.

Simple explanation: When the program code is edited, the SYSOUT TEMPLATE start button is called.

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

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

Code code automatic version: Ctrl Shift F

Modify: Window -> Predictive Setting -> Workbench -> Button -> Code Code -> Format.

Personal habits: alt z.

Automatic Typing Settings: Windows -> Predictive Set -> Java-> Code Format Code.

Style page -> will insert Tab (rather than blank keys), 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 (SYSTEMREADER (SYSTEMREADER (SYSTEM.IN)); at this time, Eclipse will say that there is no way to enter the category. At this time, we only need to press CTRL SHIFT O

It will automatically help us Import categories.

View the original code of the use of categories: Ctrl Handle Left button

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

Note the selected text: Ctrl /

Simple explanation: It is very convenient when Debug.

Modification: Window -> Prediction -> Workbench -> Button -> Code Code -> Note

View sector: Ctrl F8

Personal habits: alt s.

Modification: Window -> Predictive Setting -> Workbench -> Button -> Window -> Next View. Simple explanation: It can be convenient for us to quickly switch editing, amplifies and more.

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)

After I was 2.1.2 Chinese, I added the parameter-N1 "zh_us" in my desktop Eclipse shortcut.

"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 when editing the document:

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

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

The setting is exactly the same, including font, regeneration, keyword color. 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 folders, copy or move to Eclipse's Features

After the plugins folder, 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)

3.0 M8 version, please download:

Emf Build I200403250631

Gef Build I20040330

Ve-runtime-1.0m1

After the installation is successful, you can start UI design by file-> new-> Visual class.

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.

Develop JSP program using Eclipse:

Plug-in name: Lomboz (download page)

Http://forge.objectWeb.org/project/showfiles.php?group_id=97 Please select 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 the completed EX unit, can be executed 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 -> Pixabay Set -> Java-> Editor

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

Display the border distance, check it, Tab width 4, and the print gauge field is set 80.

The program is assisted: the pre-setting is available.

Syntax: The display color of the keyword, string, etc. can be set.

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: Windows -> Predictive Set -> Java-> Program Code Making 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:

Eclipse 3.0 Series Hotkey Table - Chinese and British Confidentiality Edition (by sungo)

~ New ~

WINDOW GCC CDT Develops C, C (by sungo) with Eclipse

~ New ~

other:

Expanded Eclipse Java Development Tools (Chinese)

Develop J2EE Application using Eclipse (Chinese)

Use the Eclipse platform to make the error (Chinese)

XML development with Eclipse (Chinese)

Developing Eclipse plunge (Chinese)

Internationalized your Eclipse plug-in program (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-115963.html

New Post(0)