Category: 01. Eclipse IDE
-
Hover Help
Using Hover Help The java editor is associated with different type of hovers. A hover provides additional information about the element under the mouse pointer. All the hovers associated with a java editor can be seen in the Java editor Hovers preference page. In the java editor, placing the mouse pointer over the class being…
-
Quick Fix
Using Quix Fix As you type characters into an eclipse editor it analyzes the document content for potential error and warnings. The java editor uses the java syntax to detect errors in the code. When it finds error or warning, it − The quick fix dialog provides a list of possible corrections. The quick fix…
-
Content Assist
Using Content Assist Within an editor, content assist helps reduce the characters typed by providing a context sensitive list of possible completions to the characters already typed. The context assist can be invoked by clicking Ctrl + Space. If you are editing the body of a method in the java editor and press Ctrl +…
-
Preferences
Setting Preferences The Preferences dialog allows Eclipse users to manage their preferences. This dialog box is managed by the framework but any plug-in can add multiple pages to the dialog box. To invoke this dialog, click on the Window menu and select the Preferences menu item. The preference pages are organized by category. You can…
-
Debugging Program
Debugging a Java Program The quickest way to debug a Java program is to using the Package Explorer view. In the Package Explorer view − The same action can be performed using the Package Explorer by selecting the class that contains the main method and clicking Alt + Shift + D, J. Either actions mentioned…
-
Debug Configuration
Creating and Using a Debug Configuration An eclipse debug configuration is similar to a run configuration but it used to start an application in the debug mode. Because the application is started in the debug mode the users are prompted to switch to the debug perspective. The debug perspective offers a number of views that…
-
Build Project
Building a Java Project A project can have zero or more builders associated with it. A java project is associated with a java builder. To see the builders associated with a project − It’s the java builder that distinguishes a Java project from other types of projects. By click on the New button you can…
-
Reopen Project
Reopening a Closed Project To reopen a closed project, in the Package Explorer view, select the closed project and click on the Project menu and select Open Project. Once the project is open its content can be edited using the Eclipse user interface.
-
Close Project
Why Close a Project? An eclipse workspace can contain any number of projects. A project can be either in the open state or closed state. Open projects − How to Close a Project? If a project is not under active development it can be closed. To close a project, from the Project select the Close…
-
Create Jar Files
Opening the Jar File wizard The Jar File wizard can be used to export the content of a project into a jar file. To bring up the Jar File wizard − Using the Jar File wizard In the JAR File Specification page −