Closure folding of Runnables
What are the rules for the Closure folding feature in Maia? I was expecting to see my anonymously declared Runnables shown folded, but they don't. Here's an example:
callCounter.systemEntryPointCalled(new Runnable() {
@Override
public void run() {
onSystemEntryPointCalled();
}
});
It would be nice to see this folded like listeners:
callCounter.systemEntryPointCalled(Runnable() {onSystemEntryPointCalled();});
Please sign in to leave a comment.
Please make sure you have the Closure folding option enabled in Folding
settings.
Thanks. I could have swore that was on earlier. Is that going to be on by default for the release?
I doubt, since there are too many people that won't want this folding to
be default.