Reputation: 22847
I greatly appreciate the functionality of Eclipse to apply code formatter to all projects in workspace, however it works only for Java files, I'd like now to apply formatter to all XML files. And there are a pack of them: pom's
, Spring configs etc.
I've found no build-in format that could do the task for all selected projects. So, my question, do you know an external plugin that would do the task (possibly with own format settings that could be exported/imported)? Or I have missed an existing option?
Upvotes: 3
Views: 1915
Reputation: 125
Here's what I did: File Search for all files with file name pattern *.xml. In Search results, select all and then right click, Source -> Format. I'm on Eclipse Luna 4.4.2, not sure how far back this feature goes.
Upvotes: 8