Quantcast
Channel: User Mark - Stack Overflow
Viewing all articles
Browse latest Browse all 43

Answer by Mark for Finding unused methods in IntelliJ (excluding tests)

$
0
0

This feature works only for batch inspection and disabled in the editor.¹

According to the JetBrains IntelliJ IDEA 2016.3 EAP Makes Unused Code Detection More Flexible blog, it's now possible.

You can find this in Settings > Editor > Inspections > Java > Declaration redundancy > Unused declaration > on the right.

Configuration option to exclude test entry points


¹ Anna Kozlova, comment in said blog post, January 11, 2017


Viewing all articles
Browse latest Browse all 43

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>