Eclipse Anonymous Class Warehousing

Is there an Eclipse plugin that resets anonymous classes?

Preferably something that works like the Intellij closure crease: http://blogs.jetbrains.com/idea/2009/03/closure-folding-in-intellij-idea-9-maia/

I looked at lambda4jdt, but it does not support newer versions of Eclipse.

+4
source share
1 answer

In the Eclipse settings, check the box "Internal types" as an element that should be initially composed:

Inner types folding screenshot

Effect:

Before folding

initially displayed as

After folding

+1
source

Source: https://habr.com/ru/post/1490497/


All Articles