There's hardly any documentation what is exactly Ant support in Idea.
I discovered that Idea know Ant DTD (is does not know anything about custom
is able to autocomplete property names, names of targets and...
Have you discovered other features while editing Ant build file?
Maybe Intellij guys can help?