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.
Please sign in to leave a comment.
Invoke "Run inspection by name" action and find "Unused declaration" here:
I wonder if IntellijIDEA shuold respect the @SuppressWarnings("unused") annotation.
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