blob: 98cc1b65f7e2511e6fde614ff3aaa9aba4cbab1e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. 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=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Ant Formatter Preferences</title>
</head>
<body>
<h1>Ant Formatter Preferences</h1>
<p>The following preferences can be changed on the <a class="command-link" href=
'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ant.ui.AntCodeFormatterPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <strong>Ant &gt; Editor &gt;
Formatter</strong></a> preference page.</p>
<table border="1" cellspacing="0" style="width: 80%;">
<thead>
<tr>
<th width="25%">Option</th>
<th>Description</th>
<th width="8%">Default</th>
</tr>
</thead>
<tbody>
<tr>
<td>Indentation - Tab size</td>
<td>This option controls how many spaces are used to display tabs in the Ant editor.</td>
<td align="center">4</td>
</tr>
<tr>
<td>Line Wrapping - Maximum line width</td>
<td>This option allows you to set the maximum line width for the Ant editor.</td>
<td align="center">80</td>
</tr>
<tr>
<td>Line Wrapping - Wrap long element tags</td>
<td>This option allows you to wrap long element tags. The Preview pane will display a sample buildfile with
this option.</td>
<td align="center">Off</td>
</tr>
<tr>
<td>Line Wrapping - Align final '&gt;' in multi-line element tags</td>
<td>This option allows you to align the final '&gt;' in multi-line element tags. The Preview pane will display
a sample buildfile with this option.</td>
<td align="center">Off</td>
</tr>
</tbody>
</table>
<h3 class="related">Related concepts</h3><a href="../concepts/concepts-antsupport.htm">Ant support</a>
<h3 class="related">Related reference</h3><a href="ref-anteditor.htm">Ant Editor</a><br>
<a href="../reference/ref-antprefs.htm">General Ant preferences</a><br>
<a href="../reference/ref-antruntimeprefs.htm">Ant runtime preferences</a><br>
<a href="../reference/ref-anteditorprefs.htm">Ant editor preferences</a><br>
<a href="../reference/ref-anttemplates.htm">Ant templates preferences</a>
</body>
</html>