Folding method signatures

Hi, can someone tell me if there is a way to fold a method signature? Ctrl + . does not work

UNFOLDED
    private void adjustStatus(String status
             throws Exception1
                       Exception2 {
    }

FOLDED
    private void adjustStatus(String status)...
    }


Thanks

2 comments
Comment actions Permalink

Hi Daniel,

Fold region may be collapsed via Ctrl+-. Ctrl+. expands/collapses active selection. Feel free to get more information about folding facilities at the reference.

However, standard method fold region doesn't include 'throws' declaration to the collapsed range.

Denis

0
Comment actions Permalink

Alright then, thanks. I have already taken a look at how to create a plugin to do that, If I really need it.

0

Please sign in to leave a comment.