| <!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 Editor Preferences</title> |
| </head> |
| <body> |
| <h1 class="Head">Ant Editor 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.AntEditorPreferencePage)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <strong>Ant > Editor</strong></a> |
| preference page.</p> |
| <h2>Appearance options</h2> |
| <table border="1" cellspacing="0" width="80%"> |
| <thead> |
| <tr> |
| <th width="25%">Option</th> |
| <th>Description</th> |
| <th width="8%">Default</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>Mark occurrences of the selected element in the current buildfile</td> |
| <td>This option allows you to select elements and mark occurrences in the current buildfile.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Keep marks when selection changes</td> |
| <td>This option allows you to keep marks when the selection changes.</td> |
| <td align="center">On</td> |
| </tr> |
| </tbody> |
| </table> |
| <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.</p> |
| <table border="1" cellspacing="0" width="80%"> |
| <thead> |
| <tr> |
| <th width="25%">Option</th> |
| <th>Description</th> |
| <th width="8%">Default</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>Foreground</td> |
| <td>This table is used to change the foreground colour of the selected element (within the table).</td> |
| <td align="center"></td> |
| </tr> |
| <tr> |
| <td>Colour</td> |
| <td>This option allows you to select a colour to set for the selected foreground element.</td> |
| <td align="center"></td> |
| </tr> |
| <tr> |
| <td>Bold</td> |
| <td>This option allows you to set the bold state of the selected foreground element.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Italic</td> |
| <td>This option allows you to set the italic state of the selected foreground element.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Preview</td> |
| <td>Shows you a preview of the changes made to the selected foreground element.</td> |
| <td align="center"></td> |
| </tr> |
| </tbody> |
| </table> |
| <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.</p> |
| <table border="1" cellspacing="0" width="80%"> |
| <thead> |
| <tr> |
| <th width="25%">Option</th> |
| <th>Description</th> |
| <th width="8%">Default</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>Ignore all buildfile problems</td> |
| <td>This option allows you to ignore all buildfile problems by default.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Names</td> |
| <td>This option allows you to specify the names of buildfiles that will NOT be checked for problems in the Ant |
| editor. Entries in this field are comma-separated.</td> |
| <td align="center"></td> |
| </tr> |
| <tr> |
| <td>Task configuration</td> |
| <td>This option allows you to set the severity for task configuration problems.</td> |
| <td align="center">Ignore</td> |
| </tr> |
| <tr> |
| <td>Incomplete classpath</td> |
| <td>This option allows you to set the severity for incomplete classpath problems.</td> |
| <td align="center">Warning</td> |
| </tr> |
| <tr> |
| <td>Property setting tasks</td> |
| <td>This option allows you to set the severity for property setting tasks problems.</td> |
| <td align="center">Ignore</td> |
| </tr> |
| <tr> |
| <td>Import tasks</td> |
| <td>This option allows you to set the severity for import tasks problems.</td> |
| <td align="center">Warning</td> |
| </tr> |
| <tr> |
| <td>Security problems</td> |
| <td>This option allows you to set the severity for security problems.</td> |
| <td align="center">Warning</td> |
| </tr> |
| </tbody> |
| </table> |
| <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.</p> |
| <table border="1" cellspacing="0" width="80%"> |
| <thead> |
| <tr> |
| <th width="25%">Option</th> |
| <th>Description</th> |
| <th width="8%">Default</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td>Enable folding when opening a new editor</td> |
| <td>This option allows you to always enable folding for any newly created Ant editors.</td> |
| <td align="center">On</td> |
| </tr> |
| <tr> |
| <td>DTD blocks</td> |
| <td>This option allows you to always have DTD blocks in a buildfile automatically folded when opened in an Ant |
| editor.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Comments</td> |
| <td>This option allows you to always have comments in a buildfile automatically folded when opened in an Ant |
| editor.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Defining tasks</td> |
| <td>This option allows you to always have defining tasks in a buildfile automatically folded when opened in an |
| Ant editor.</td> |
| <td align="center">Off</td> |
| </tr> |
| <tr> |
| <td>Targets</td> |
| <td>This option allows you to always have targets in a buildfile automatically folded when opened in an Ant |
| editor.</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-antformatter.htm">Ant formatter preferences</a><br> |
| <a href="../reference/ref-anttemplates.htm">Ant templates preferences</a> |
| </body> |
| </html> |