Reputation: 484
Is there an Eclipse plugin that folds anonymous classes?
Preferably something that works like Intellij's closure folding: http://blogs.jetbrains.com/idea/2009/03/closure-folding-in-intellij-idea-9-maia/
I've looked at lambda4jdt, but it does not support newer versions of Eclipse.
Upvotes: 4
Views: 789
Reputation: 5123
In Eclipse Preferences, check "Inner types" as element to be initially folded:
Effect:
is initially shown as
Upvotes: 1