When I write .xml files in Eclipse, I often have to manually indent code. For example
You need to open the file using the XML Editor, swap to Source view and then do the Ctrl + Shift + F trick.