| <!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=ISO-8859-1"> | |
| <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 > Editor > 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 '>' in multi-line element tags</td> | |
| <td>This option allows you | |
| to align the final '>' 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> |