NAnt Help Filter Reference <tabstospaces> | v0.90 |
Converts tabs to spaces.
The <tabstospaces> filter replaces tabs in a text file with spaces.
Filters are intended to be used as a element of a <filterchain>.
Attribute | Type | Description | Required |
---|---|---|---|
tablength | int | The number of spaces used when converting a tab. The default is "8". | False |
if | bool | If true then the filter will be used; otherwise, skipped. The default is true. | False |
unless | bool | Opposite of if . If false then the filter will be executed; otherwise, skipped. The default is false. |
False |
Replace all tabs with four spaces.
<tabtospaces tablength="4" />