Tasks
Check HTML/XML code
There are two ways to use the HTML Tidy plugin for checking
files:
- Manual execution: HTML Tidy
Checking is executed on user's request on selected files,
folders or projects.
- As an incremental builder: HTML Tidy Checking
is activated for each project that has to be checked. Then,
each time a file is saved or added, HTML Tidy Automatic
Checking is executed on this file and HTML Tidy Problem
markers are updated.

Checking files
manually or
Formatting
To Format (Check manually) HTML/XML code:
In an Editor View
Do one of the following while editing HTML/XML code:
- Select HTML Tidy > Format (Check) from the
pop-up menu in the editor, if the editor extends Text
Editor
- Select HTML Tidy > Format (Check) from the menu
bar or the actions
(
) in the tool
bar
- Press Ctrl+Shift+F (Ctrl+Shift+C)
In the Package Explorer
- Select one or more project, folders or files with
extensions asp & php, or extensions ending with html,
html and xml,
-
Then either:
- select HTML Tidy > Format (Check) from the
pop-up menu
- Select HTML Tidy > Format (Check) from the
menu bar or the tool bar
- Press Ctrl+Shift+F (Ctrl+Shift+C).
- The files selected, in addition to the files contained in
the selected folders and projects and matching the given pattern are formatted
(checked).
Remarks
The key bindings can be changed in Window > Preferences
> Workbench > Keys.
If the menu bar and tool bar actions are not visible and the
key bindings don't work check Window > Customize
Perspective... > Commands > HTML Tidy
Use the Preferences to
specify your preferences for code formatting and general
options.