Is it possible to somehow auto-format when saving XML files in Eclipse?
I know it\'s possible to do it for Java files, but I would like it to happen for XML files as
It's been requested in WTP (bug 221696), but for now increasing the formatter's quality and speed in general has a higher priority.
For eclipse auto-format try Ctrl+Shift+F
I'm going to answer my own question using my own article about the fix that's about to be rolled out to ADT: http://www.androidpolice.com/2010/11/09/for-android-developers-next-version-of-eclipse-adt-to-include-auto-formatting-of-xml/
Update: since r14, ADT can now finally do this. http://tools.android.com/recent/xmlformatter