FortuneN / FineCodeCoverage

Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage
Other
516 stars 39 forks source link

Remove the namespace name from the class name when NamespacedClasses is enabled. #333

Closed DanTravison closed 7 months ago

DanTravison commented 1 year ago

Installed product versions

Description

Would it be possible to remove the namespace name from the class name when grouping by namespace and allow the Name column to be resized?

I find the organization of the NamespacedClasses option very useful but it adds quite a bit of width to the display causing me to resize or scroll horizontally it each time I want to view it.

The view would be much more manageable if it is presented in a manner similar to turning the option off.

Then allowing the Name column to be resized would avoid much of the horizontal scrolling.

Current behavior

The width of the report is too large when using NamespacedClasses requiring constant resizing and/or scrolling.

I've tried floating the pane but even that's only useful when I have dual monitors. Even then, it requires a full screen to see the data and doesn't avoid horizontal scrolling.

Expected behavior

Adds a group node for each namespace and lists the unqualified class names in a manner similar to the class list without the NamespacedClasses option enabled. Allowing the name column to be resized to handle the case where one or more namespaces require too much horizontal display.

Side Notes

tonyhallett commented 7 months ago

There is now a visual studio enumeration option NamespaceQualification.

    FullyQualified,
    AlwaysUnqualified,
    UnqualifiedByNamespace,
    QualifiedByNamespaceLevel

Choose one of the latter 3.