mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
[html] Add wrap_attributes_indent_size and aligned-multiple options.Fixes #55743
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user