Add preserve-aligned to the UI settings for html.format.wrapAttributes. Fixes #66644

This commit is contained in:
Martin Aeschlimann
2019-01-28 23:49:54 +01:00
parent 71ee61ef2d
commit 89275bcf59
2 changed files with 8 additions and 2 deletions

View File

@@ -117,14 +117,18 @@
"force",
"force-aligned",
"force-expand-multiline",
"aligned-multiple"
"aligned-multiple",
"preserve",
"preserve-aligned"
],
"enumDescriptions": [
"%html.format.wrapAttributes.auto%",
"%html.format.wrapAttributes.force%",
"%html.format.wrapAttributes.forcealign%",
"%html.format.wrapAttributes.forcemultiline%",
"%html.format.wrapAttributes.alignedmultiple%"
"%html.format.wrapAttributes.alignedmultiple%",
"%html.format.wrapAttributes.preserve%",
"%html.format.wrapAttributes.preservealigned%"
],
"description": "%html.format.wrapAttributes.desc%"
},

View File

@@ -17,6 +17,8 @@
"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.wrapAttributes.preserve": "Preserve wrapping of attributes",
"html.format.wrapAttributes.preservealigned": "Preserve wrapping of attributes but align.",
"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.",