A few days ago it was just fine. I haven't made any change to the IDE or anything else in the preferences.

Looks like random instability, but I hope I'm wrong, I don't want to go through the IDE setup again.......

Here are two screenshots to tell the story:

Before Ctrl+Shift+F (format):


After (format results):


What can I do about it?

I've tried comparing settings in another Eclipse setup that I have which has XML formatting working properly. (Window -> Preferences -> XML -> XML Files -> Editor). Also (Structured Text Editors).


Question: How to customize Windows "Performance Monitor"?
Answer: You can create perfmon counters using .NET code and thus using PowerShell too. A moderate amount of coding is required.