Question

I really like Eclipse's autoindent feature for .java files, but when I hit Ctrl-I with build.xml open, it just erases the selection.

Is there any way to get autoindent for .xml files working in Eclipse?

Was it helpful?

Solution

The Java Developers and RCP/Plug-in Developers packages of Eclipse include an XML editor which supports auto indentation of XML files.

Best wishes,
Fabian

OTHER TIPS

In the xml perspective under Source there is a Format option (CTRL+Shift+F)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top