Ryan
Ryan

Reputation: 5496

Uncrustify option to leave whitespace on blank lines

I'm trying to find the option that leaves whitespace on blank lines. Currently uncrustify will strip all trailing whitespace (good!), however I want to keep whitespace if it's on a blank line, because it's generally to the indent level.

Is this a blank line nl_* option, or an indentation indent_* option? I can't find one to do what I want, or even to control the trailing whitespace option! It just does it by default.

Upvotes: 6

Views: 679

Answers (1)

Ryan
Ryan

Reputation: 5496

I received a response from Ben Gardner, the project lead, who had this to say:

There is no option to do this and there is no plan to add an option to do that at this point.

Upvotes: 5

Related Questions