Detect when Disable code inspection options comments can be removed

Was wondering if there would be a way that we could detect if any of the Resharper disable <code inspection> comments are not needed any more. A lot of times we use these comments to disable the unused method inspection for methods that are for utility tools, that we want to make available but have not been used yet. Would like to detect when we could remove these resharper disable comments from our code once these methods are used.


Comment actions Permalink

Hi Damien,

It's a nice idea, but I don't think it is possible since ReSharper does not analyse comments after they were typed... Still, you're welceme to fill in a feature request about it here:

Thank you!

Comment actions Permalink

Thanks for the info. I have created a feature request


Please sign in to leave a comment.