You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,10 +80,12 @@ The following settings are supported:
80
80
*`xml.symbols.maxItemsComputed`: The maximum number of outline symbols and folding regions computed (limited for performance reasons). Default is `5000`.
81
81
*`xml.codeLens.enabled`: Enable/disable XML CodeLens. Default is `false`.
82
82
*`xml.symbols.excluded`: Disable document symbols (Outline) for the given file name patterns. Updating file name patterns does not automatically reload the Outline view for the relevant file(s). Each file must either be reopened or changed, in order to trigger an Outline view reload.
83
-
84
-
Since 0.13.0:
85
83
*`files.trimTrailingWhitespace`: Now affects XML formatting. Enable/disable trailing whitespace trimming when formatting an XML document. Default is `false`.
86
84
85
+
Since 0.14.0:
86
+
87
+
*`xml.format.xsiSchemaLocationSplit`: Split `xsi:schemaLocation` content. Default is `none`.
88
+
87
89
## Articles
88
90
89
91
*[Improved XML grammar binding and more in Red Hat VS Code XML extension 0.13.0](https://developers.redhat.com/blog/2020/07/08/improved-xml-grammar-binding-and-more-in-red-hat-vs-code-xml-extension-0-13-0/)
Copy file name to clipboardExpand all lines: package.json
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,22 @@
190
190
"markdownDescription": "Enforce `preferred` quote style (set by `#xml.preferences.quoteStyle#`) or `ignore` quote style when formatting. Default is `ignore`",
191
191
"scope": "window"
192
192
},
193
+
"xml.format.xsiSchemaLocationSplit": {
194
+
"type": "string",
195
+
"enum": [
196
+
"onNamespace",
197
+
"onLocation",
198
+
"none"
199
+
],
200
+
"markdownEnumDescriptions": [
201
+
"Split `xsi:schemaLocation` content after each namespace declaration",
202
+
"Split `xsi:schemaLocation` content after each location declaration",
203
+
"Ignore `xsi:schemaLocation` content formatting."
204
+
],
205
+
"default": "none",
206
+
"markdownDescription": "Split `xsi:schemaLocation` content. Default is `none`",
0 commit comments