|
98 | 98 | "items": { |
99 | 99 | "type": "string" |
100 | 100 | }, |
101 | | - "description": "Array of XML Catalogs", |
| 101 | + "description": "Array of XML Catalogs.", |
102 | 102 | "scope": "window" |
103 | 103 | }, |
104 | 104 | "xml.logs.client": { |
105 | 105 | "type": "boolean", |
106 | 106 | "default": true, |
107 | | - "description": "Should the server log to client output" |
| 107 | + "description": "Should the server log to client output." |
108 | 108 | }, |
109 | 109 | "xml.format.emptyElements": { |
110 | 110 | "type": "string", |
|
120 | 120 | "xml.format.splitAttributes": { |
121 | 121 | "type": "boolean", |
122 | 122 | "default": false, |
123 | | - "description": "Split multiple attributes each onto a new line", |
| 123 | + "description": "Split multiple attributes each onto a new line.", |
124 | 124 | "scope": "window" |
125 | 125 | }, |
126 | 126 | "xml.format.joinCDATALines": { |
127 | 127 | "type": "boolean", |
128 | 128 | "default": false, |
129 | | - "description": "Join lines in a CDATA tag's content", |
| 129 | + "description": "Join lines in a CDATA tag's content.", |
130 | 130 | "scope": "window" |
131 | 131 | }, |
132 | 132 | "xml.format.joinCommentLines": { |
133 | 133 | "type": "boolean", |
134 | 134 | "default": false, |
135 | | - "description": "Join comment content on format", |
| 135 | + "description": "Join comment content on format.", |
136 | 136 | "scope": "window" |
137 | 137 | }, |
138 | 138 | "xml.format.spaceBeforeEmptyCloseTag": { |
|
168 | 168 | "xml.format.enabled": { |
169 | 169 | "type": "boolean", |
170 | 170 | "default": true, |
171 | | - "description": "Enable/disable ability to format document", |
| 171 | + "description": "Enable/disable ability to format document.", |
172 | 172 | "scope": "window" |
173 | 173 | }, |
174 | | - "xml.format.quotations": { |
| 174 | + "xml.format.enforceQuoteStyle": { |
175 | 175 | "type": "string", |
176 | 176 | "enum": [ |
177 | | - "doubleQuotes", |
178 | | - "singleQuotes" |
| 177 | + "preferred", |
| 178 | + "ignore" |
179 | 179 | ], |
180 | | - "default": "doubleQuotes", |
181 | | - "description": "Which type of quotes to use for attribute values when formatting.", |
| 180 | + "markdownEnumDescriptions": [ |
| 181 | + "Use preferred quote style set by `xml.preferences.quoteStyle` when formatting.", |
| 182 | + "Ignore quote style formatting." |
| 183 | + ], |
| 184 | + "default": "preferred", |
| 185 | + "description": "Set quote style rule when formatting.", |
| 186 | + "scope": "window" |
| 187 | + }, |
| 188 | + "xml.preferences.quoteStyle": { |
| 189 | + "type": "string", |
| 190 | + "enum": [ |
| 191 | + "single", |
| 192 | + "double" |
| 193 | + ], |
| 194 | + "default": "double", |
| 195 | + "markdownDescription": "Preferred quote style to use for completion: `single` quotes, `double` quotes.", |
182 | 196 | "scope": "window" |
183 | 197 | }, |
184 | 198 | "xml.fileAssociations": { |
|
189 | 203 | "properties": { |
190 | 204 | "systemId": { |
191 | 205 | "type": "string", |
192 | | - "description": "The path or URL to the XML schema (XSD or DTD)" |
| 206 | + "description": "The path or URL to the XML schema (XSD or DTD)." |
193 | 207 | }, |
194 | 208 | "pattern": { |
195 | 209 | "type": "string", |
|
209 | 223 | "xml.completion.autoCloseTags": { |
210 | 224 | "type": "boolean", |
211 | 225 | "default": true, |
212 | | - "description": "Enable/disable autoclosing of XML tags. \n\nIMPORTANT: Turn off editor.autoClosingTags for this to work", |
| 226 | + "description": "Enable/disable autoclosing of XML tags. \n\nIMPORTANT: Turn off editor.autoClosingTags for this to work.", |
213 | 227 | "scope": "window" |
214 | 228 | }, |
215 | 229 | "xml.codeLens.enabled": { |
216 | 230 | "type": "boolean", |
217 | 231 | "default": false, |
218 | | - "description": "Enable/disable XML CodeLens" |
| 232 | + "description": "Enable/disable XML CodeLens." |
219 | 233 | }, |
220 | 234 | "xml.java.home": { |
221 | 235 | "type": [ |
|
232 | 246 | "null" |
233 | 247 | ], |
234 | 248 | "default": "-noverify -Xmx64M -XX:+UseG1GC -XX:+UseStringDeduplication", |
235 | | - "description": "Specifies extra VM arguments used to launch the XML Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector", |
| 249 | + "description": "Specifies extra VM arguments used to launch the XML Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector.", |
236 | 250 | "scope": "window" |
237 | 251 | }, |
238 | 252 | "xml.server.workDir": { |
|
0 commit comments