eclipse Eclipse Shortcuts Format xml


When you add entries to an xml or copy from other sources, there often tends to be uneven tabs and spaces around the entries.

When you press Ctrl + Shift + F, you easily align the entire document and remove the extra tabs as well. Thus the text gets formatted and eventually becomes readable.