I can't seem to find any command to reformat the xml I am working on. Often I may cut and paste pieces of XML to create a new XML file but the indentation on different pieces may be inconsistent so I was expecting there would be a command to reformat the file, but I can't seem to find one anywhere. For now I have been copying the whole thing into my XML editor (XMLBluePrint) reformatting it there then pasted the reformatted code back into IDEA, seems like a lot of work so I must be missing something.
I'm using IDEA 15.0.1 Ultimate
Thanks for any pointers.,