提交 9012c8be 编写于 作者: M Matt Bierner 提交者: GitHub

Extract settings strings in html extension (#16183)

Closes #16178
上级 a27eec8d
......@@ -73,12 +73,12 @@
"html.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default HTML formatter (requires restart)"
"description": "%html.format.enable.desc%"
},
"html.format.wrapLineLength": {
"type": "integer",
"default": 120,
"description": "Maximum amount of characters per line (0 = disable)."
"description": "%html.format.wrapLineLength.desc%"
},
"html.format.unformatted": {
"type": [
......@@ -86,17 +86,17 @@
"null"
],
"default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, pre, q, samp, script, select, small, span, strong, sub, sup, textarea, tt, var",
"description": "List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content."
"description": "%html.format.unformatted.desc%"
},
"html.format.indentInnerHtml": {
"type": "boolean",
"default": false,
"description": "Indent <head> and <body> sections."
"description": "%html.format.indentInnerHtml.desc%"
},
"html.format.preserveNewLines": {
"type": "boolean",
"default": true,
"description": "Whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text."
"description": "%html.format.preserveNewLines.desc%"
},
"html.format.maxPreserveNewLines": {
"type": [
......@@ -104,17 +104,17 @@
"null"
],
"default": null,
"description": "Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimited."
"description": "%html.format.maxPreserveNewLines.desc%"
},
"html.format.indentHandlebars": {
"type": "boolean",
"default": false,
"description": "Format and indent {{#foo}} and {{/foo}}."
"description": "%html.format.indentHandlebars.desc%"
},
"html.format.endWithNewline": {
"type": "boolean",
"default": false,
"description": "End with a newline."
"description": "%html.format.endWithNewline.desc%"
},
"html.format.extraLiners": {
"type": [
......@@ -122,22 +122,22 @@
"null"
],
"default": "head, body, /html",
"description": "List of tags, comma separated, that should have an extra newline before them. 'null' defaults to \"head, body, /html\"."
"description": "%html.format.extraLiners.desc%"
},
"html.suggest.angular1": {
"type": "boolean",
"default": true,
"description": "Configures if the built-in HTML language support suggests Angular V1 tags and properties."
"description": "%html.suggest.angular1.desc%"
},
"html.suggest.ionic": {
"type": "boolean",
"default": true,
"description": "Configures if the built-in HTML language support suggests Ionic tags, properties and values."
"description": "%html.suggest.ionic.desc%"
},
"html.suggest.html5": {
"type": "boolean",
"default": true,
"description": "Configures if the built-in HTML language support suggests HTML5 tags, properties and values."
"description": "%html.suggest.html5.desc%"
}
}
}
......
{
"html.format.enable.desc": "Enable/disable default HTML formatter (requires restart)",
"html.format.wrapLineLength.desc": "Maximum amount of characters per line (0 = disable).",
"html.format.unformatted.desc": "List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.",
"html.format.indentInnerHtml.desc": "Indent <head> and <body> sections.",
"html.format.preserveNewLines.desc": "Whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.",
"html.format.maxPreserveNewLines.desc": "Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimited.",
"html.format.indentHandlebars.desc": "Format and indent {{#foo}} and {{/foo}}.",
"html.format.endWithNewline.desc": "End with a newline.",
"html.format.extraLiners.desc": "List of tags, comma separated, that should have an extra newline before them. 'null' defaults to \"head, body, /html\".",
"html.suggest.angular1.desc": "Configures if the built-in HTML language support suggests Angular V1 tags and properties.",
"html.suggest.ionic.desc": "Configures if the built-in HTML language support suggests Ionic tags, properties and values.",
"html.suggest.html5.desc":"Configures if the built-in HTML language support suggests HTML5 tags, properties and values."
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册