Detect when Disable code inspection options comments can be removed

Hello,
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.

Thanks

2 comments

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: http://youtrack.jetbrains.com/issues/RSRP

Thank you!

0

Please sign in to leave a comment.