[html] Add wrap_attributes_indent_size and aligned-multiple options.Fixes #55743

This commit is contained in:
Martin Aeschlimann
2018-08-27 22:46:20 +02:00
parent 1b11d0092d
commit 112f31a683
2 changed files with 15 additions and 2 deletions

View File

@@ -112,16 +112,27 @@
"auto",
"force",
"force-aligned",
"force-expand-multiline"
"force-expand-multiline",
"aligned-multiple"
],
"enumDescriptions": [
"%html.format.wrapAttributes.auto%",
"%html.format.wrapAttributes.force%",
"%html.format.wrapAttributes.forcealign%",
"%html.format.wrapAttributes.forcemultiline%"
"%html.format.wrapAttributes.forcemultiline%",
"%html.format.wrapAttributes.alignedmultiple%"
],
"description": "%html.format.wrapAttributes.desc%"
},
"html.format.wrapAttributesIndentSize": {
"type": [
"integer",
"null"
],
"scope": "resource",
"default": null,
"description": "%html.format.wrapAttributesIndentSize.desc%"
},
"html.suggest.angular1": {
"type": "boolean",
"scope": "resource",

View File

@@ -16,6 +16,8 @@
"html.format.wrapAttributes.force": "Wrap each attribute except first.",
"html.format.wrapAttributes.forcealign": "Wrap each attribute except first and keep aligned.",
"html.format.wrapAttributes.forcemultiline": "Wrap each attribute.",
"html.format.wrapAttributes.alignedmultiple": "Wrap when line length is exceeded, align attributes vertically.",
"html.format.wrapAttributesIndentSize.desc": "Attribute alignment size when using 'force-aligned' or 'aligned-multiple'. Use 'null' to use the editor indent size.",
"html.suggest.angular1.desc": "Controls whether the built-in HTML language support suggests Angular V1 tags and properties.",
"html.suggest.ionic.desc": "Controls whether the built-in HTML language support suggests Ionic tags, properties and values.",
"html.suggest.html5.desc": "Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.",