This Question is Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
2 Replies Last post: Sep 17, 2013 8:43 PM by Damien Murty  
Damien Murty Newbie 75 posts since
Aug 20, 2010
Currently Being Moderated

Sep 13, 2013 1:22 AM

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

Alex Berezoutsky JetBrains 580 posts since
Feb 18, 2011
Currently Being Moderated
Sep 17, 2013 2:34 PM in response to: Damien Murty
Re: Detect when Disable code inspection options comments can be removed

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!

More Like This

  • Retrieving data ...