dotCover 2024.2 Help

Editor

dotCover options: dotCover | Editor

This option page allows you to configure a visual presentation of covered and uncovered code. To indicate the code state, dotCover uses colored markers in the left Visual Studio gutter.

Enable highlighting

Enables code highlighting.

Highlight code coverage using

Defines the highlighting mode:

  • Gutter markers — coverage is shown using colored markers in the left gutter of the editor.

  • Line background — coverage is shown by highlighting the whole line of code (as in dotCover 2016.2 and earlier) .

  • Gutter markers and line background — both ways are used.

Use highlighting to show unit test results

If selected, dotCover will use the marker color to indicate not only the coverage of a particular code statement by unit tests but tests results as well.

If cleared, markers will indicate only code coverage.

Use shaped markers (colorblind mode)

If selected, markers will indicate code coverage and test results not only with color but also with their shape.

Show document coverage indicator on the marker bar

Shows/hides an additional coverage indicator: the "shield" icon on the ReSharper marker bar.

You can configure highlighting colors in Visual Studio options: Choose Tools | Options | Environment | Fonts and Colors, and then find entries beginning with 'dotCover'.

Last modified: 11 February 2024