HTML Tidy Eclipse plug-in provides two very useful tasks of HTML Tidy: Formatting and Checking (X)HTML or XML code. It doesn't provide any editor and can be used while editing in your favorite HTML/XML editor for Eclipse.
To install HTML Tidy plug-in in Eclipse, download the zip file and follow the notes attached to it.
Bugs and Feature Requests can be reported at eclipsetidy SourceForge project page . Please, eclipsetidy site should only be used for issues related to the integration of HTML Tidy in Eclipse. Feature Requests like "JSP support" or Bugs like "Tidy doesn't work with this file" should be published at JTidy SourceForge project page.
This plug-in has been developed by Pierre Baumard (France).
Bug #1441861 fixed: Unable to change Markup preferences in Eclipse 3.2
Come to more detail: http://eclipsetidy.sourceforge.net/
Recommend the tutorial