Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "FAQ How do I control the Java formatter?"

 
 
Line 7: Line 7:
 
saved, and shared with a team of developers to maintain a consistent
 
saved, and shared with a team of developers to maintain a consistent
 
company style.
 
company style.
 +
 +
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Latest revision as of 16:10, 14 March 2006

By activating Window > Preferences > Java > Code Formatter, you can create a new formatting profile. The choices for the various layout characteristics show the depth and breadth of the JDT code formatter. Full control exists over indentation, placement of braces, whitespace, blank lines, control statements, line wrapping, and comments. With the code formatter preference settings, a profile can easily be customized, saved, and shared with a team of developers to maintain a consistent company style.


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top