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

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

  1. Select Window > Preferences.
  2. In the tree in the Preferences window, 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, Icon for a covered element, Icon for a missed element, and Icon for a partially covered element, in the left margin of the source code display. If you hide them, any 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 Add and Remove to modify the Source Lookup Path list.
    2. Expand the Annotated Source entry and click Graphical Styles to change how code data is displayed in the Annotated Source view. 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 change how source code is displayed in the Annotated Source view. You can now choose font and font size, colors, and font attributes for all categories of information displayed.
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 Preferences pages for coverage data
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.