Code Reformat - remove blank lines?

Just wondering... is there an easy way to remove blank lines when using the code->reformat code tool?

4 comments
Comment actions Permalink

I simple use after reformat replace dialog in regexp mode with \n\n => \n.

0
Comment actions Permalink

Ah, that is one way to do it... I am terrible at regex, so thanks for the suggestion.  To take it a step further, is there a regex that will remove lines that only contain whitespace?

0
Comment actions Permalink

Formatter & corresponding options is under development. Should be ready in next 1-2 EAPs

0
Comment actions Permalink

Hooray!  Thanks so much

0

Please sign in to leave a comment.