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
bugIssue identified by VS Code Team member as probable bughtmlHTML support issuesimportantIssue identified as high-priorityverifiedVerification succeeded
Currently tested with <a> and <button> tags. Might affect more tags. <div> and <p> works fine.
Here is my config of the html formt options:
//-------- HTML configuration --------
// Maximum amount of characters per line (0 = disable).
"html.format.wrapLineLength": 120,
// List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all inline tags.
"html.format.unformatted": null,
// Indent <head> and <body> sections.
"html.format.indentInnerHtml": false,
// Whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text..
"html.format.preserveNewLines": false,
// Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimited.
"html.format.maxPreserveNewLines": null,
// Format and indent {{#foo}} and {{/foo}}.
"html.format.indentHandlebars": false,
// End with a newline.
"html.format.endWithNewline": false,
// List of tags, comma separated, that should have an extra newline before them. 'null' defaults to "head, body, /html".
"html.format.extraLiners": null
The text was updated successfully, but these errors were encountered:
Regression from introducing the html formatting options. The default of preserveNewLines used to be true, now false. Changing this back.
Thanks @4kochi !
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIssue identified by VS Code Team member as probable bughtmlHTML support issuesimportantIssue identified as high-priorityverifiedVerification succeeded
Steps to Reproduce:
In Action:
Currently tested with
<a>
and<button>
tags. Might affect more tags.<div>
and<p>
works fine.Here is my config of the html formt options:
The text was updated successfully, but these errors were encountered: