| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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"></script> |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <title>Ant Formatter</title> |
| |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <H1 CLASS="Head"> Ant Formatter</H1> |
| <div class="Para"> |
| <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.png"> |
| <strong>Ant > Editor > Formatter</strong></a> |
| |
| preference page.</p> |
| </div> |
| <table border="1" cellspacing="0" style="width: 100%;"> |
| <caption> |
| </caption> |
| <thead> |
| </thead> |
| <tbody> |
| </tbody> |
| <tbody> |
| <tr> |
| <th width="25%"> <div class="Para">Option</div></th> |
| <th> <div class="Para">Description</div></th> |
| <th> <div class="Para">Default</div></th> |
| </tr> |
| <tr> |
| <td style="vertical-align: top; width: 25%;">Indentation - Tab size<br> |
| </td> |
| <td style="vertical-align: top;">This option controls how many spaces are |
| used to display tabs in the Ant editor.<br> </td> |
| <td style="vertical-align: top;">4<br> </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top" width="25%"> <div class="Para">Line Wrapping |
| - Maximum line width</div></td> |
| <td align="left" valign="top"> <div class="Para">This option allows you |
| to set the maximum line width for the Ant editor. </div></td> |
| <td align="left" valign="top"> <div class="Para">80</div></td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> <div class="Para">Line Wrapping - Wrap long |
| element tags</div></td> |
| <td align="left" valign="top"> <div class="Para">This option allows you |
| to wrap long element tags. The Preview pane will display a sample buildfile |
| with this option.</div></td> |
| <td align="left" valign="top"> <div class="Para">Off</div></td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> <div class="Para">Line Wrapping - Align final |
| '>' in multi-line element tags</div></td> |
| <td align="left" valign="top"> <div class="Para">This option allows you |
| to align the final '>' in multi-line element tags. The Preview pane |
| will display a sample buildfile with this option.</div></td> |
| <td align="left" valign="top"> <div class="Para">Off</div></td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <P CLASS="Para">Here is what the Ant Formatter preference page looks like.</P> |
| <P CLASS="Para"> |
| <img src="../images/ant_formatter.png" alt="Ant Formatter preference page" border="0"></P> |
| |
| <P CLASS="Para"> <img border="0" src="../images/ngrelc.png" alt="Related concepts" > |
| <br> |
| <a href="../concepts/concepts-antsupport.htm">Ant support</a> </P> |
| <p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br> |
| <a href="ref-anteditor.htm">Ant Editor</a><br> |
| <a href="../reference/ref-antprefs.htm">Ant preferences</a><br> |
| <a href="../reference/ref-antruntimeprefs.htm">Ant runtime preferences</a> |
| |
| </p> |
| |
| |
| |
| </BODY> |
| </HTML> |