-
Notifications
You must be signed in to change notification settings - Fork 67
/
ref-antformatter.htm
67 lines (61 loc) · 2.71 KB
/
ref-antformatter.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!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=ISO-8859-1">
<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 Formatter Preferences</title>
</HEAD>
<BODY>
<h1>Ant Formatter 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.AntCodeFormatterPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link">
<strong>Ant > Editor > Formatter</strong></a> preference page.
</p>
<table border="1" cellspacing="0" style="width: 80%;">
<thead>
<tr>
<th width="25%">Option</th>
<th>Description</th>
<th width="8%">Default</th>
</tr>
</thead>
<tbody>
<tr>
<td>Indentation - Tab size</td>
<td>This option controls how many spaces are used to display tabs in the Ant editor.</td>
<td align="center">4</td>
</tr>
<tr>
<td>Line Wrapping - Maximum line width</td>
<td>This option allows you to set the maximum line width for the Ant editor.</td>
<td align="center">80</td>
</tr>
<tr>
<td>Line Wrapping - Wrap long element tags</td>
<td>This option allows you to wrap long element tags. The Preview pane will display a sample buildfile
with this option.</td>
<td align="center">Off</td>
</tr>
<tr>
<td>Line Wrapping - Align final '>' in multi-line element tags</td>
<td>This option allows you
to align the final '>' in multi-line element tags. The Preview pane
will display a sample buildfile with this option.</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-anteditorprefs.htm">Ant editor preferences</a><br>
<a href="../reference/ref-anttemplates.htm">Ant templates preferences</a>
</BODY>
</HTML>