Is there any way to hide code coverage in project view but keep it in the gutter?

已回答

The gutter colors for code coverage are unobtrusive and I'd love to keep it, but at the same time get rid of the coverage info in the project filetree, which makes the view extremely noisy and picking out specific files needlessly hard:

Is there any way to hide coverage info here without disabling it altogether?

0

There's "Run | Hide Coverage" action will hide coverage in "Project" view, but it will also close "Coverage" view if it's open.

(no key shortcut is assigned to it, but you can do it in "Preferences | Keymap | Main Menu | Run | Hide coverage")

You can open "Coverage" view back with "Run | Show Coverage Data", there's an assigned shortcut for it.

-1

There's "Run | Hide Coverage" action will hide coverage in "Project" view, but it will also close "Coverage" view if it's open.

(no key shortcut is assigned to it, but you can do it in "Preferences | Keymap | Main Menu | Run | Hide coverage")

You can open "Coverage" view back with "Run | Show Coverage Data", there's an assigned shortcut for it.

Yes, I am fully aware of this, but as I said in my first post, the problem with this is that it also hides the coloring in the gutter which I would like to keep. I do not wish to hide all coverage info, I only wish to hide the coverage info in the project tree view. I want to keep the gutter coloring.

0

Raised a feature request, please follow it for the updates here:
https://youtrack.jetbrains.com/issue/IDEA-315466

0

请先登录再写评论。