blob: 708c3b892d82437e7a9a5e7c5d8e276158f58a3d [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
Code Formatter
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>
Code Formatter
</h1>
<p>The
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.CodeFormatterPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the Formatter preference page">
<b>Java &gt; Code Style &gt; Formatter</b></a> preference page
lets you manage your code formatter profiles for the Java code formatter.</p>
<table border="1" cellspacing="0" cellpadding="5" width="600">
<thead>
<tr>
<th>
<p>Action</p>
</th>
<th>
<p>Description</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" width="25%">
<p>New...</p>
</td>
<td valign="top">
<p>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.</p>
</td>
</tr>
<tr>
<td valign="top" width="25%">
<p>Edit...</p>
</td>
<td valign="top">
<p>Shows a dialog which displays the settings stored in the active profile. Only user-defined profiles can be modified.</p>
</td>
</tr>
<tr>
<td valign="top" width="25%">
<p>Remove</p>
</td>
<td valign="top">
<p>Removes the selected profile. This action is only available on user-defined profiles.</p>
</td>
</tr>
<tr>
<td valign="top" width="25%">
<p>Import...</p>
</td>
<td valign="top">
<p>Imports profiles from the file system.</p>
</td>
</tr>
</tbody>
</table>
<p>
<img border="0" src="../images/ngrelr.png" alt="Related reference">
</p>
<p>
<a href="../reference/ref-java-editor.htm">Java editor</a><br>
<a href="../reference/ref-21.htm">Java editor preferences</a>
</p>
</body>
</html>