Summary
true
to break all block statements, even on
nested ifs 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-all", Required = false)]
[BooleanValidator()]
public bool BreakBlocksAll { get; set; }
Attributes
Type | Description |
---|---|
TaskAttribute | |
BooleanValidator |
Value
Type | Description |
---|---|
bool |