IntelliJ IDEA
IntelliJ IDEA – the Leading Java and Kotlin IDE, by JetBrains
Features
Closure folding in IntelliJ IDEA 9 (Maia)
IntelliJ IDEA 9 will bring you a clearer code reading experience with the support of folding for probably the most verbose Java constructions — anonymous classes. In IntelliJ IDEA 9 you will have an option to quickly collapse them to compact, easy to read form and back with a single keystroke.
Before:
After:
EAP users will be, as always, the first to try it out when we release the very first Maia builds, so make sure you’re on the list and watch for the news!