This documentation describes how to set annotation preferences for Web and XML files. The annotation preferences include whether to analyze the syntactic validity of your file while you are typing and what colors to use to highlight errors, warnings, tasks, search results, bookmarks, and other text.
By default, when you edit in a structured text editor, your source code is validated as you type it in. Like other Eclipse-based editors, the structured text editors for markup languages flag warnings and errors in the source code in the editor area. The warnings and errors also show up in the Tasks view when you save the file.
To set annotation preferences, complete the following steps:
Related concepts
Structured text editors for markup
languages
Related tasks
Setting preferences for structured
text editors