Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java Development User Guide
Previous Page Home Next Page

Java Editor Templates Preferences

The Opens the Templates preference page Java > Editor > Templates preference page allows to create new and edit existing templates. A template is a convenience for the programmer to quickly insert often reoccurring source code patterns.

The following buttons allow manipulation and configuration of templates:

Action

Description

New...

Opens the Template dialog to create a new template.

Edit...

Opens the Template dialog to edit the currently selected template.

Remove

Removes all selected templates.

Restore Removed

Restores any preconfigured templates that have been removed.

Revert to Default

Restores any preconfigured templates to their default. This does not modify user-created templates.

Import...

Imports templates from the file system.

Export...

Exports all selected templates to the file system.

Use code formatter

If enabled, the template is formatted according to the code formatting rules specified in the Code Formatter preferences, prior to insertion. Otherwise, the template is inserted as is, but correctly indented.

Related concepts

Templates
Template variables

Related reference

Template editing
Java content assist
Task tag preferences
Code templates preferences
Code style preferences


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire