Astyle.

BreakBlocks Property

Summary

true to break block statements with an empty line.
    isFoo = true;
    if (isFoo) {
        bar();
    } else {
        anotherBar();
    }
    isBar = false;

    becomes:

    isFoo = true;

    if (isFoo) {
        bar();
    } else {
        anotherBar();
    }

    isBar = false;
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Containing Type
Astyle

Syntax

[TaskAttribute("break-blocks", Required = false)]
[BooleanValidator()]
public bool BreakBlocks { get; set; }

Attributes

Type Description
TaskAttribute
BooleanValidator

Value

Type Description
bool