This article introduces Java™development Tools (JDT), demonstrates some common features, and explains how to customize these common features. It also discusses the concepts and features of the Eclipse Integrated development Environment (IDE) that
Background knowledge
ERCP has emerged as a way to apply the benefits of Eclipse Rich-Client Platform (RCP) to embedded devices. The topics covered are:
Setting up the development environment
ERCP Application building Block
How to generate a log
Fast Eclipse plug-in development experience:
1. Gets the contents of the currently selected text and converts it.
1 defines the action implementation Ieditoractiondelegate interface.
2 Gets the current editor (Geteditor ()).
Developers have long thought that building modular systems can easily update a part of the system without affecting other parts of the system. Modularity also makes it easy to extend the original system in a new way. This is the motivation to build
Problems encountered
Suppose we want to use a specific plug-in in Eclipse and have performed all the necessary actions, include it in the plug-in's manifest file, and declare it as a dependent file. But the system does not load this plugin, so we
Here I explain in detail the configuration needed to use Eclipse for DoJa program development, and create a project using Elipse.
Here I take DoJa v4.1 + Eclipse 3.0 as an example to illustrate.
A Select Window-> Preferences
Specify the
Recently because of the heavy laboratory task, has not continued to study GEF, has already mastered some things seem to have lost a lot, really helpless ah, it seems to be often touched. Friends who have just contacted GEF have the impression that
About Eclipse. classpath files:
Each new Java Project (project) exists by default.
Specifies the source file location, corresponding to the project properties in the source item in Java Build path, kind= "src" as the source file, the source
The error is shown in the following illustration:
Sometimes, when the new computer hits the Open Eclipse, the pop-up prompts "Failed to load the JNI shared library Jvm.dll" error, here to share the solution.
Typically, if you are a 64-bit
alt+/Content Assist
The most commonly used shortcut keys, save yourself a word to knock the code time
Ctrl+shift+f Format Document
Ctrl+shift+o Bulk Import Package
Ctrl+t Open Type Tree
CTRL + left mouse button/F3 Open statement
When you look
In Eclipse, open the package where the file is located, click "Clean", and then lock and unlock: First select team-lock with your own account (the most important is to select the "Force unlock" option), select team-unlock.
Encountered SVN cleanup
Ctrl+1 Quick Fix
Ctrl+d: Delete When moving forward
Ctrl+alt+↓ copy current line to next line (copy increase)
Ctrl+alt+↑ copy current line to previous line (copy increase)
Alt+↓ the current line and the following line of interactive position
The reason for Eclipse's garbled behavior is that the Eclipse editor has chosen a variable encoding rule. Generally, the default is UTF-8 or GBK, when a project imported from the outside, if the project encoding and Eclipse settings in different
Windows-preferences-java-editor-content AssistThe bottom of the Auto activation option:Auto activation delay Indicates how many seconds a prompt appearsAuto activation trigger for Java: There is a point inside, which means that if you enter a dot
First: It is necessary to adjust JVM parameters according to the hardware and software configuration of your own machine.
Second: Preferences->general->startup and shutdown unwanted options are removed.
Third: preferences->java->installed JREs
Took over a previous Web project, was built with MyEclipse, with MyEclipse release run without any problems.
Now because there is no purchase MyEclipse annual fee, decided to continue to develop with ECLIPSE+WPT, did not expect to find the project
Here's how to define a perspective for your RCP program or Eclipse plug-in, add a view to the perspective, and define the placement of each view. OK, let's get to the point, define a perspective for our Plug-ins first: The way to define perspective
1. Install JDK
Download the JDK installer to Sun's web site and run it as root, and you'll get a folder with JDK names similar to jdk1.5. Execute the following code:
MV Jdk1.5/usr/local/lib
Ln-sf/usr/local/lib/jdk1.5/bin/java/usr/bin/java
First, install the Sourcelookup plugin:Second, add source in source lookup path:2.1) Add the source code of the project or the whole work space (not even your own codes can not be viewed, default is not added)2.2) Add the source of the jar package
Method One:1. Browse through the profile to find the installation path for Eclipse2. Click Open "Open File location" to go to the installation directory of Eclipse and locate the Eclipse.ini file3. After locating the configuration file, use the text
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