Changing fonts, colors, and font attributes in the Annotated Source view

You can customize the display in the Annotated Source window using the Preferences pages.

  1. Select Window > Preferences.

  2. In the Preferences dialog box tree, expand Profiling and Logging, and then expand the Appearance entry.

  3. Open the page for the view or display you want to customize:

    1. Click Annotated Source to select whether to show or hide the coverage symbols

      ,

      , and

      , in the left margin of the source code display. If you hide them, hit, missed, and partially hit lines in the annotated source are identified only by color.

      Note: On this page you can also specify search paths for source code that is not in a project in your workspace. Use the Add and Remove buttons to modify the Source Lookup Path list.

    2. Expand the Annotated Source entry and click Graphical Styles to work with the Annotated Source view code data display. You can now choose font and font size, colors, and font attributes for all categories of information displayed.

    3. Expand the Annotated Source entry and click Source Styles to work with the Annotated Source view code source display. You can now choose font and font size, colors, and font attributes for all categories of information displayed.

 

Parent topic

Viewing and analyzing coverage data for lines and methods

 

Related tasks

Collecting coverage data for lines and methods

Related reference
The Annotated Source view, source code with annotations display
The Annotated Source view, source data display
The coverage data Preferences pages