Setting source highlighting styles

If desired, you can change various aspects of how the XML source code is displayed in the Source view of the XML editor, such as the colors the tags will be displayed in.

Voer de volgende stappen uit om de accentueringsstijlen in te stellen voor de XML-code:

  1. Click Window > Preferences and select XML > XML Files > Syntax Coloring.
  2. In the Syntax Element list, select the source tag type that you wish to set a highlighting style for. You can also click text in the Sample text box to specify the source tag type that you wish to set a highlighting style for.
  3. Click the Foreground box, select the color that you want the text of the tag to appear in, and click OK.
  4. Click the Background box, select the color that you want to appear behind the tag, and click OK.
  5. Select the Bold check box if you want to make the type bold.
  6. Click OK to save your changes.
Klik op Standaardwaarden herstellen als u de accentueringsstijlen wilt terugbrengen naar hun standaardwaarden. Als u alleen de waarde voor een bepaald type content wilt herstellen, selecteert u het in het veld Syntaxiselement en klikt u op Standaardwaarde herstellen.
Verwante taken
Editing in the Source view