Figure 1.
Set Preferences
You can set up the Ant editor as a general XML editor by associating files with the XML extension to the Ant editor in the Associated Editors area in the Preferences dialog.