blob: 1a85595b40e1bd84c7ed8b7abf44f2b6762b1896 [file] [log] [blame]
<!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 Editor</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1 CLASS="Head">
Ant Editor</H1>
<div class="Para">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.AntEditorPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<strong>Ant &gt; Editor</strong></a>
page.</div>
<h2>Appearance options</h2>
<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 align="left" valign="top" width="25%"> <div class="Para">Mark occurrences
of the selected element in the current buildfile<br>
</div></td>
<td align="left" valign="top"> <div class="Para">This option allows you
to select elements and mark occurrences in the current buildfile. </div></td>
<td align="left" valign="top"> <div class="Para">Off</div></td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;">Keep marks when selection changes<br>
</td>
<td style="vertical-align: top;">This option allows you to keep marks when
the selection changes. <br> </td>
<td style="vertical-align: top;">On<br> </td>
</tr>
</tbody>
</table>
<P CLASS="Para">Here is what the Appearance tab of the Ant editor preference page
looks like.</P>
<P CLASS="Para">
<img src="../images/ant_editor_appearance.png" alt="Ant editor appearance preference page" border="0"></P>
<h2>Syntax options</h2>
<p>The Foreground options located on the Syntax tab, allow you to format the font
of comments, constant strings, DTD declarations, processing instructions, tags
and text. The Preview pane allows you to see your changes before you apply them.
Here is what the Syntax tab of the Ant editor preference page looks like.</p>
<p><img src="../images/ant_editor_syntax.png" alt="Ant editor syntax preference page" border="0"></p>
<h2>Problems options</h2>
<p>The Problems options allow you to ignore all buildfile problems or to specify
the specific files that you do not want the Ant Editor to check for problems.
You can also set the severity level for buildfile problems such as task configuration,
an incomplete classpath, property setting tasks, import tasks, and security
problems. Here is what the Problems tab of the Ant editor preference page looks
like.</p>
<p><img src="../images/ant_editor_problems.png" alt="Ant editor Problems preference page" border="0"></p>
<h2>Folding options</h2>
<p>The Folding options allow you to enable folding when opening a new editor and
to specify which region types should be folded. Here is what the Folding tab
of the Ant editor preference page looks like.</p>
<p><img src="../images/ant_editor_folding.png" alt="Ant editor Folding 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 preference page</a><br>
<a href="../reference/ref-antruntimeprefs.htm">Ant runtime preference page</a>
</p>
</BODY>
</HTML>