DotCover: How to remove code coverage highlighting from your code

NvMat picture NvMat · Apr 29, 2015 · Viewed 9.4k times · Source

I am using JetBrains' dotCover for writing my units tests in a .NET application. dotCover highlights the whole code base either green or red based on the code coverage, but I want to remove the highlights after I'm done checking the code coverage. So is there anyway to do this other than quitting Visual Studio, removing the Test Results folder and.dotUser file, and restarting the Visual Studio?

Answer

Maria picture Maria · May 4, 2015

You can easily switch highlighting on and off by pressing Ctrl+Alt+K, H. Or you can click "Highlight code" on the toolbar of the "Coverage Results" window. enter image description here