Why does eclipse flicker and is slow to load XML in Editors?

eclipse, editor, flicker, performance, xml

Solution

You are using Eclipse 4.2 or 4.2.1, where there is a known performance issue when switching between XML based editors. Upgrade to Eclipse 4.2.2 using the update manager.

EDIT: Meanwhile Eclipse 4.3 has been released with even more performance fixes. Everyone is advised to upgrade again.

Problem

My android ADT Eclipse has gotten into a state where every time I switch between XML editors it is slow. Additionally there is a flicker of the Reload Dependencies and Turn Grammar Constraints Off toolbar buttons. How do I fix this?

Original source