window >preferences >XML >XML files >editor >check the box labeled ‘Split multiple attributes each on a new line’
to autoformat a file, hit:
ctrl + shift + f