roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Provide a Way to Keep GlobalSuppressions.cs Clean

Open vsfeedback opened this issue 1 year ago • 1 comments

This issue has been moved from a ticket on Developer Community.


When coding, suppressing issues, and subsequently refactoring code, numerous suppressions may become obsolete. Presently, the sole method to eliminate these "dead" suppressions is through manual intervention. It would be advantageous to implement a mechanism for automatically removing these obsolete suppressions from the file. This could be achieved either by introducing a dedicated menu item for cleaning the file or by incorporating this functionality into the existing CTRL-K-D keystroke, which is commonly used for formatting code files.

SCREEN GRAB1.jpg


Original Comments

Feedback Bot on 1/30/2024, 09:08 PM:

(private comment, text removed)

vsfeedback avatar Feb 21 '24 17:02 vsfeedback

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.