We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a xml tag has plain text inside, the closing bracket is inlined instead of setting it on a new line
Current format
<text x="50%" y="50%" font-size="60" > SVG </text> <!-- Should be newline -->
Desired format
<text x="50%" y="50%" font-size="60" > SVG </text>
settings xml.format.closingBracketNewLine is already enabled
xml.format.closingBracketNewLine
{ "editor.linkedEditing": true, "[xml]": { "editor.defaultFormatter": "redhat.vscode-xml", "editor.tabSize": 2, "files.trimTrailingWhitespace": true, "files.trimFinalNewlines": true }, "xml.format.preserveEmptyContent": true, "xml.format.emptyElements": "collapse", "xml.format.splitAttributes": "alignWithFirstAttr", "xml.completion.autoCloseTags": true, "xml.format.spaceBeforeEmptyCloseTag": true, "xml.format.closingBracketNewLine": true, "xml.preferences.quoteStyle": "double", "xml.fileAssociations": [ { "pattern": "**/*.xml.svg", "systemId": ".vscode/svg11-flat-20110816.dtd" } ], "html.autoClosingTags": true, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If a xml tag has plain text inside, the closing bracket is inlined instead of setting it on a new line
Current format
Desired format
settings
xml.format.closingBracketNewLine
is already enabledThe text was updated successfully, but these errors were encountered: