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

Code Formatter Preferences

The Opens the Formatter preference page Java > Code Style > Formatter preference page lets you manage your code formatter profiles for the Java code formatter.

Action

Description

Active profile

Selects the profile active for the workspace or current project.

Edit...

Shows a dialog which displays the settings stored in the active profile. Only user-defined profiles can be modified.

Remove

Removes the selected profile. This action is only available on user-defined profiles.

New...

Shows the dialog to create a new profile. The dialog requires you to enter a name for the new profile. Additionally, you may select a built-in or user-defined existing profile to base your new profile on.

Import...

Imports profiles from the file system.

Details

Displays a sample how the active profile formats a Java code snippet

To change your formatter options you can either select one of the built-in profiles or create a new profile. To create a new profile select New.... You can then edit the new profile by selecting Edit....

If your project is shared, e.g. through CVS, and uses a formatter profile which is not managed by yourself (you have not created the profile) then the profile will be marked as Unmanaged Profile. You are not allowed to change such a profile, only the creator (manager) of the profile can change it.

Related reference

Java editor
Java editor preferences


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