Recipe 7.7 Setting Ant Editor Options

     

7.7.1 Problem

You want to customize the Ant editor's appearance.

7.7.2 Solution

Select Window Preferences Ant Editor, and choose from the items in that dialog.

7.7.3 Discussion

You have some control over the Ant editor's appearance using the Window Preferences Ant Editor dialog. In Eclipse 2.1.2, the Ant editor is really little more than a simple XML editor, but you can specify such items as the colors used in syntax highlighting, and whether the editor shows an overview ruler or line numbers , as shown in Figure 7-13.

Figure 7-13. Setting options for the Ant editor
figs/ecb_0713.gif

For example, turning on line numbers makes the Ant editor display them, as shown in Figure 7-14.

Figure 7-14. Line numbers in the Ant editor
figs/ecb_0714.gif



Eclipse Cookbook
Inside XML (Inside (New Riders))
ISBN: 596007108
EAN: 2147483647
Year: 2006
Pages: 232
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net