Skip to content

OpenCover.UI Configuration

Peter Vermeulen edited this page Jun 10, 2015 · 1 revision

Coverage colors

Depending on the theme used in Visual Studio, it's possible you might want to change the colors used to indicate covered and uncovered lines of code.

OpenCover.UI supports this through the editor settings dialog window in Visual Studio:

  • open the settings window by selecting 'Tools > Options' in Visual Studio
  • in the 'Environment' section, select 'Fonts and Colors'
  • search for the following items in the 'Display items' list for the 'Text editor' settings:
    • OpenCover.UI Covered Text Background: to change the background color (and potentially foreground color) used to indicate covered lines of code
    • OpenCover.UI Not Covered Text Background: to change the background color (and potentially foreground color) used to indicate lines of code that are not covered
Clone this wiki locally