Skip to content

Commit f1f4ada

Browse files
committed
Add xsi format schemaLocation
See eclipse-lemminx/lemminx#825 Signed-off-by: azerr <azerr@redhat.com>
1 parent ae6fc47 commit f1f4ada

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,22 @@
231231
"markdownDescription": "Insert space before end of self closing tag. \nExample:\n ```<tag/> -> <tag />```. Default is `true`. See [here](https://github.com/redhat-developer/vscode-xml/wiki/Formatting#xmlformatspacebeforeemptyclosetag-) for more information.",
232232
"scope": "window"
233233
},
234+
"xml.format.xsiSchemaLocationSplit": {
235+
"type": "string",
236+
"enum": [
237+
"onElement",
238+
"onPair",
239+
"none"
240+
],
241+
"markdownEnumDescriptions": [
242+
"Put a new line after each namespace and URI, arranging them into one column.",
243+
"Put a new line after each URI, arranging the content into pairs of namespace and URI.",
244+
"Ignore `xsi:schemaLocation` content formatting."
245+
],
246+
"default": "none",
247+
"markdownDescription": "Split `xsi:schemaLocation` content. Default is `none`",
248+
"scope": "window"
249+
},
234250
"xml.format.splitAttributes": {
235251
"type": "boolean",
236252
"default": false,

0 commit comments

Comments
 (0)