[Suggestion] Find un-used methods/properties

Have the possibility to let R# list all un-used methods and properties of a class.

In large projects you often have internal libraries, meaning public or sometimes internal methods. Quiet often all public methods of certain classes or assemblies are only used by the code in your solution. When you have classes that have 100 public properties, it's quiet useful to be able to find out which are no used anymore. The Alt + F7 (find usage) works but doing it on each and every property is very slow.

1 comment
Comment actions Permalink

Hello Werner
     In order to find all unused types and members in your solution you should:
     1. Turn on solution-wide analysis for your solution under ReSharper | Options | Code Inspection | Settings
     2. Wait until your solutioin is analyzed
     3. Right click your solution in Solution Explorer and click 'Find Code Issues'
     4. Filter the results by 'Type or type member is never used' inspection

     Let me know if this helps. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.