Can you hide code that coverage says isn't used?

Answered

So at work we have some methods that are 400 lines long. Not many but some.

Currently I know the use cases I'm testing and can see which code isn't used based on red in the gutter.

My question is is there any way I can make that code less visible in the editor?

Can any style be applied to code that is deemed to be not used ie. red in the gutter.

0
1 comment

Hello, this feature is already supported, can you follow the guide to see if it works for you?

https://www.jetbrains.com/help/idea/configuring-code-coverage-measurement.html#color

Tips: must set background color to let the foreground color to take affect.

0

Please sign in to leave a comment.