When working in vscode, I like to use the Alt+Up and Alt+Down keybinding for moving stuff around, and allowing for the ending of the tag to be on a new line if the attributes are aligned would be very helpful.
current:
<tag
attr1=""
attr2="" />
<tag
attr1=""
attr2="" >
proposed:
<tag
attr1=""
attr2=""
/>
<tag
attr1=""
attr2=""
>
proposed setting:
xml.format.splitAttributesCloseNewLine = true - only use if xml.format.splitAttributes = true.
When working in vscode, I like to use the Alt+Up and Alt+Down keybinding for moving stuff around, and allowing for the ending of the tag to be on a new line if the attributes are aligned would be very helpful.
current:
proposed:
proposed setting:
xml.format.splitAttributesCloseNewLine = true- only use ifxml.format.splitAttributes = true.