-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -395,4 +395,22 @@ If it is set to `true`, the above document becomes: | |
<child /> | ||
</robot> | ||
``` | ||
*** | ||
*** | ||
### xml.format.closingBracketNewLine | ||
|
||
If set to `true`, the closing bracket (`>` or `/>`) of a tag with at least 2 attributes will be put on a new line. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
datho7561
Contributor
|
||
|
||
Requires [splitAttributes](#xmlformatsplitattributes) to be set to `true`. | ||
|
||
Defaults to `false`. | ||
|
||
```xml | ||
<a b="" c="" /> | ||
``` | ||
becomes | ||
```xml | ||
<a | ||
b="" | ||
c="" | ||
/> | ||
``` |
why 2 attributes? why not 3? 4? How about using an integer value instead of a boolean?