Find all unused classes using search tool

Answered

Is there any structured search in IntellijiDEA to find the list of all unused classes?

I am working on a big Java project that contains a lot of simple class files that were made by never used. I want to find them all in one go.

0
3 comments

Invoke "Run inspection by name" action and find "Unused declaration" here: 

1
Avatar
Permanently deleted user

I wonder if IntellijIDEA shuold respect the @SuppressWarnings("unused") annotation.

0

Could not reproduce: https://i.imgur.com/OCv7v84.png

Please try https://www.jetbrains.com/idea/nextversion/ and in case the issue is still here, report a new bug on YouTack: https://youtrack.jetbrains.com/newIssue?project=IDEA with a code sample where this can be reproduced. 

Thanks

0

Please sign in to leave a comment.