Code folding conditional blocks?

hi..

is there a way to specify that there should be code folding for conditional blocks?

one of the reasons i'm asking is that there are numerous if (_logger.isDebugenabled) boiller plate statments, so i thought if there's a way to hide them, no to mention other long else and if blocks.

2 comments
Comment actions Permalink

Unfortunately there is not a way to fold conditional blocks in bulk (or by default).  You can open up a feature request asking for such. Alternatively, there may be a plug-in that provides such functionality.

Note that you can fold an individual block. With your cursor in the block, type Ctrl+Shift+Period.

0

Please sign in to leave a comment.