You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current pre-release version (after v0.26.1) changes how "xml.format.splitAttributes" is configured. In my opinion, it now mixes 3 orthogonal configurations:
Whether to split the attributes. Possible options:
-- Preserve as is (but obey "xml.format.maxLineWidth")
-- Force split 1 per line
-- Force join (but obey "xml.format.maxLineWidth")
-- Force join if all attributes fit within "xml.format.maxLineWidth", otherwise force split 1 per line
How to align the attributes. Possible options:
-- Preserve as is
-- Align with the first attribute (or with the element ending if no attribute on the first line)
-- Apply 1, 2, 3 etc. indentations
Whether to start the first attribute on a new line. Possible options:
-- Preserve as is (but obey "xml.format.maxLineWidth")
-- Force same line as element (but obey "xml.format.maxLineWidth")
-- Force new line
-- Force same line if all attributes fit within "xml.format.maxLineWidth". Otherwise, force new line.
All possible choices for these 3 configurations are meaningfully combinable. Whereas the current mix within "xml.format.splitAttributes" leads to unwanted side-effects. E.g., the indentation is forced to 1 (regardless of "xml.format.splitAttributesIndentSize") if "xml.format.splitAttributes" is set to "preserve".
The text was updated successfully, but these errors were encountered:
The current pre-release version (after v0.26.1) changes how "xml.format.splitAttributes" is configured. In my opinion, it now mixes 3 orthogonal configurations:
-- Preserve as is (but obey "xml.format.maxLineWidth")
-- Force split 1 per line
-- Force join (but obey "xml.format.maxLineWidth")
-- Force join if all attributes fit within "xml.format.maxLineWidth", otherwise force split 1 per line
-- Preserve as is
-- Align with the first attribute (or with the element ending if no attribute on the first line)
-- Apply 1, 2, 3 etc. indentations
-- Preserve as is (but obey "xml.format.maxLineWidth")
-- Force same line as element (but obey "xml.format.maxLineWidth")
-- Force new line
-- Force same line if all attributes fit within "xml.format.maxLineWidth". Otherwise, force new line.
All possible choices for these 3 configurations are meaningfully combinable. Whereas the current mix within "xml.format.splitAttributes" leads to unwanted side-effects. E.g., the indentation is forced to 1 (regardless of "xml.format.splitAttributesIndentSize") if "xml.format.splitAttributes" is set to "preserve".
The text was updated successfully, but these errors were encountered: