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();});



3 comments
Comment actions Permalink

Please make sure you have the Closure folding option enabled in Folding
settings.

0
Comment actions Permalink

Thanks.  I could have swore that was on earlier.  Is that going to be on by default for the release?

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.