The default code coverage decorations shown in the editor
and views are configurable.
About this task
You can modify the colors that are used for showing code
coverage. By default, covered lines are shown in green; uncovered
lines are shown in red.
Procedure
- Select .
- Expand and then click Colors and Fonts.
- In the Colors and Fonts page, expand Code
Coverage.
- To change the colors used when displaying code coverage:
- Click the item that you want to change and click Edit.
You can change the color used for:
- Covered elements
- Partially covered elements Note: only supported
for Java source.
- Uncovered elements
- Select the color that you want to use for the element
and then click OK.