xml_attribute_indent
Where an attribute on a line of its own starts. Unset keeps its offset from its element as written.
| Value | Notes |
|---|---|
single_indent |
|
double_indent |
|
align_by_first_attribute |
Default: (not set)
Unset, an attribute on a line of its own keeps its offset from its element, so attributes aligned under the first one stay aligned when the element is re-indented. A value's own continuation lines never move.
xml_attribute_indent = single_indent
<Project>
<Target Name="Pack"
DependsOnTargets="Build"
Condition="'$(IsPackable)' == 'true'">
</Target>
</Project>
<Project>
<Target Name="Pack"
DependsOnTargets="Build"
Condition="'$(IsPackable)' == 'true'">
</Target>
</Project>
xml_attribute_indent = double_indent
<Project>
<Target Name="Pack"
DependsOnTargets="Build"
Condition="'$(IsPackable)' == 'true'">
</Target>
</Project>
<Project>
<Target Name="Pack"
DependsOnTargets="Build"
Condition="'$(IsPackable)' == 'true'">
</Target>
</Project>
xml_attribute_indent = align_by_first_attribute
<Project>
<Target Name="Pack"
DependsOnTargets="Build"
Condition="'$(IsPackable)' == 'true'">
</Target>
</Project>
<Project>
<Target Name="Pack"
DependsOnTargets="Build"
Condition="'$(IsPackable)' == 'true'">
</Target>
</Project>