Filter files from results tree
Closed this issue · 3 comments
In version 5.92.0 I ran a scan on the entire project, which returned around 3000 issues. Only a handful are error level, so I make sure "Display Errors" is selected and none of the others.
This only has the effect of filtering the violation line, and not the file that violations were found in.
You can see in the image I need to find the angle bracket to actually locate the violation.
If there are no violations within the filter scope, the file should not be displayed in the tree.
I see now I can unfold the nodes, but still, why show me the file. If I click the violation it opens the file, and that's all I need to see.
Perhaps add a button to determine whether files are shown at all?
Yeah, that definitely seems like a silly thing to show in the circumstances. I'll have a look when I get a tick - thanks!
Basic fix is now in main; however, the trailing "x item(s)" text is incorrect and will need some further love (hence not closing this yet).
Will be in the next release. Thanks for the tip!