Ant Editor

The following preferences can be changed on the Ant > Editor page.

Appearance options

Option
Description
Default
Mark occurrences of the selected element in the current buildfile
This option allows you to select elements and mark occurrences in the current buildfile.
Off
Keep marks when selection changes
This option allows you to keep marks when the selection changes.
On
Insert spaces for tabs when typing
This option controls whether a tab is replaced with spaces when typed in the Ant editor.
Off
Show affordance in hover on how to make it sticky This option controls whether or not the hover will display affordance on to make it sticky.
On

Here is what the Appearance tab of the Ant editor preference page looks like.

Ant editor appearance preference page

Syntax options

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.

Ant editor syntax preference page

Problems options

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.

Ant editor Problems preference page

Folding options

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.

Ant editor Folding preference page

Related concepts
Ant support

Related reference
Ant Editor
Ant preferences
Ant runtime preferences