Eclipse Tips Sharing Area: Hotkeys, plug-in, related techniques (reproduced)

zhaozj2021-02-16  60

Foreword: I have been using JBuilderx as the main idea, but I used Eclipse to find it ... Eclipse is also so easy to use ... gradually fell in love with it ... Eclipse Advantages: Free, program code Typographic function, Chinese cultural package, can add a lot of powerful plug-in, support a variety of operating systems (Windows, Linux, Solaris, Mac OSX) .., etc. Open this discussion, I hope to collect some of the use skills of Eclipse ... Welcome everyone to continue to add ... Because Eclipse's version is numerous, I hope that the advanced advanced can explain the version you are using. ~ Eclipse website: http://www.eclipse.org/eclipse Chinese Teaching: JavaWorld Station Article Reference (Usset: Eclipse 2.1.2 Release Chinese Culture) Hot Key Article: Template: Alt / Modification: Window - > Prediction Set -> Workbench -> Button -> Edit -> Content Auxiliary. Personal habits: Shift Space. Simple explanation: When editing the program code, play the SYSOUT TEMPLATE launcher, it will automatically appear: system.out.println () ;. Set the format of Template: Window -> Predictive Set -> Java-> Editor -> Template. Program code automatic version: CTRL SHIFT F Modification: Window -> Prediction Set -> 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 air bobs), the option cancels the number of spaces below 4, so that the row is protruded in a space 4 when auto-arrangement. Quick execution program: Ctrl F11 personal habits: Alt X modification: window -> preference setting -> Workbench-> button -> Execution -> The previous startup job last. Simple explanation: When executed, it will ask you to perform the mode, set it, then just press this hotkey, it will execute quickly.

Edition, ATL X (Execution)> .. I think it is easy to enter the category required: Ctrl Shift o Easy explanation: Suppose we don't have any type of IMPORT, when we play Into:

BufferedReader BUF = New BufferedReader (NEW INPUTSTREADER (System.in);

at this time

Eclipse

It will be warned that there is no way to enter the category. At this time, we only need to press

Ctrl Shift O

, It will help us

Import

category.

View the original code of the category:

Ctrl

Left click on the mouse

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

Tap the selected text:

Ctrl /

Simple explanation:

Debug

It is very convenient.

Modification: Window

->

Preference

->

Work bench

->

button

->

code

->

annotation

View sector switching:

Ctrl F8

personal habit:

Alt S

.

Modification: Window

->

Preference

->

Work bench

->

button

->

window

->

The next view.

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

set

Eclipse

Can switch, English, Traditional, Simplified:

1.

First install the Chinese cultural package first.

2.

Adding parameters after shortcuts on the desktop,

English

-> -nl "zh_us"

Traditional

-> -nl "zh_tw"

Simplified

-> -nl "zh_cn"

.

(

Other languages ​​are pushed by this class

)

like me

2.1.2

After Chinese, I am on my desktop

Eclipse

Quick way to join the parameters

-N1 "zh_us"

.

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

The interface will change back to English.

use

Eclipse

,in

Word

When editing the document, you don't have to rearrange the program code:

will

Eclipse

The program code of the program editing area is copied.

(Ctrl C)

Directly

(CTRL V)

Until

Word

or

WordPad

On, you will find

Word

Program code format, follow

Eclipse

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

JBuilder

,

Gel

,

NetBeans ...

When using copy, only the zone format is the same, the shape, color

Color, etc. will not change.

Equipment:

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

FEATURES

,

Plugins

This

2

A data clip, copy or move the things inside

Eclipse

of

FEATURES

,

Plugins

Restart after the data end

Eclipse

I.e.

yield

Eclipse

Be like

JBuilderx

Use drag configuration construction

GUI

Plug-in:

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)

Can be made by the file after installation

->

New construction

->

other

-> GUI FORM

Select to construct

GUI

Types of.

2. Eclipse Visual Editor Project

:

http://www.eclipse.org/VEP/

Click below

Download Page

, Click

Latest Release 0.5.0

Enter the download.

apart from

Ve-Runtime-0.5.0.zip

To download, the following

2

It is also:

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, it can be

File-> New-> Visual Class

Start

UI

design.

After the installation is successful, you can start

-> Java-> AWT

versus

Swing

Choice

What to construct

GUI

Type start design.

Ve

Must cooperate with

The version can be used normally, otherwise there is still a problem even if the installation is successful.

use

Eclipse

Develop

JSP

program:

Plug-in name:

Lomboz

Download page

)

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

Please choose the right version

Lomboz

download,

Lomboz.212.p1.zip

Indicate

2.1.2

Version,

Lomboz.3m7.zip

Indicate

M7

version

....

Push it in this class.

Lomboz

Installation and setup teaching:

Eclipse development JSP-teaching documents

Java turn EXE articles:

Method to realize:

Eclipse

Match

Jsmooth

free

)

.

1.

First

Eclipse

Production

MANIFEST

of

Jar

.

Teaching

2.

use

Jsmooth

Then take the

Jar

Pack

EXE

.

Jsmooth

Download page:

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

3.

Completion of production

EXE

Document, available in the device

JRE

of

Windows

Decrease.

Eclipse-Java editor is best setting:

Editor character setting: Workbench

->

Font

-> Java

Editor text.

(

Recommended setting

Courier New -Regular 10)

Editor Related Settings: Window

->

Preference

-> java->

editor

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

Show print margins, check it,

Tab

Width

4

, Print-spatant 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

->

Preference

-> 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 spacers: set to

4

.

Eclipse's teaching document:

sungo

Published:

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

~ New ~

WINDOW GCC CDT Develops C, C (by sungo)

~ New ~

other:

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-17361.html

New Post(0)