Ant Formatter Preferences

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

Option Description Default
Indentation - Tab size This option controls how many spaces are used to display tabs in the Ant editor. 4
Line Wrapping - Maximum line width This option allows you to set the maximum line width for the Ant editor. 80
Line Wrapping - Wrap long element tags This option allows you to wrap long element tags. The Preview pane will display a sample buildfile with this option. Off
Line Wrapping - Align final '>' in multi-line element tags This option allows you to align the final '>' in multi-line element tags. The Preview pane will display a sample buildfile with this option. Off

Here is what the Ant Formatter preference page looks like.

Ant Formatter preference page

Related concepts
Ant support

Related reference
Ant Editor
General Ant preferences
Ant runtime preferences
Ant editor preferences
Ant templates preferences