|
37 | 37 | "contributes": {
|
38 | 38 | "jsonValidation": [
|
39 | 39 | {
|
40 |
| - "fileMatch": "tsconfig.json", |
41 |
| - "url": "./dist/schemas/vue-tsconfig.schema.json" |
42 |
| - }, |
43 |
| - { |
44 |
| - "fileMatch": "tsconfig-*.json", |
45 |
| - "url": "./dist/schemas/vue-tsconfig.schema.json" |
46 |
| - }, |
47 |
| - { |
48 |
| - "fileMatch": "tsconfig.*.json", |
49 |
| - "url": "./dist/schemas/vue-tsconfig.schema.json" |
50 |
| - }, |
51 |
| - { |
52 |
| - "fileMatch": "jsconfig.json", |
53 |
| - "url": "./dist/schemas/vue-tsconfig.schema.json" |
54 |
| - }, |
55 |
| - { |
56 |
| - "fileMatch": "jsconfig-*.json", |
57 |
| - "url": "./dist/schemas/vue-tsconfig.schema.json" |
58 |
| - }, |
59 |
| - { |
60 |
| - "fileMatch": "jsconfig.*.json", |
| 40 | + "fileMatch": [ |
| 41 | + "tsconfig.json", |
| 42 | + "tsconfig.*.json", |
| 43 | + "tsconfig-*.json", |
| 44 | + "jsconfig.json", |
| 45 | + "jsconfig.*.json", |
| 46 | + "jsconfig-*.json" |
| 47 | + ], |
61 | 48 | "url": "./dist/schemas/vue-tsconfig.schema.json"
|
62 | 49 | }
|
63 | 50 | ],
|
|
252 | 239 | "verbose"
|
253 | 240 | ],
|
254 | 241 | "default": "off",
|
255 |
| - "description": "Traces the communication between VS Code and the language server." |
| 242 | + "markdownDescription": "%configuration.trace.server%" |
256 | 243 | },
|
257 | 244 | "vue.server.includeLanguages": {
|
258 | 245 | "type": "array",
|
|
261 | 248 | },
|
262 | 249 | "default": [
|
263 | 250 | "vue"
|
264 |
| - ] |
| 251 | + ], |
| 252 | + "markdownDescription": "%configuration.server.includeLanguages%" |
265 | 253 | },
|
266 | 254 | "vue.doctor.status": {
|
267 | 255 | "type": "boolean",
|
268 | 256 | "default": true,
|
269 |
| - "description": "Show known problems in status bar." |
| 257 | + "markdownDescription": "%configuration.doctor.status%" |
270 | 258 | },
|
271 | 259 | "vue.splitEditors.icon": {
|
272 | 260 | "type": "boolean",
|
273 | 261 | "default": false,
|
274 |
| - "description": "Show split editor icon in title area of editor." |
| 262 | + "markdownDescription": "%configuration.splitEditors.icon%" |
275 | 263 | },
|
276 | 264 | "vue.splitEditors.layout.left": {
|
277 | 265 | "type": "array",
|
|
282 | 270 | "script",
|
283 | 271 | "scriptSetup",
|
284 | 272 | "styles"
|
285 |
| - ] |
| 273 | + ], |
| 274 | + "markdownDescription": "%configuration.splitEditors.layout.left%" |
286 | 275 | },
|
287 | 276 | "vue.splitEditors.layout.right": {
|
288 | 277 | "type": "array",
|
|
292 | 281 | "default": [
|
293 | 282 | "template",
|
294 | 283 | "customBlocks"
|
295 |
| - ] |
| 284 | + ], |
| 285 | + "markdownDescription": "%configuration.splitEditors.layout.right%" |
296 | 286 | },
|
297 | 287 | "vue.codeActions.enabled": {
|
298 | 288 | "type": "boolean",
|
299 | 289 | "default": true,
|
300 |
| - "description": "Enabled code actions." |
| 290 | + "markdownDescription": "%configuration.codeActions.enabled%" |
301 | 291 | },
|
302 | 292 | "vue.codeActions.askNewComponentName": {
|
303 | 293 | "type": "boolean",
|
304 | 294 | "default": true,
|
305 |
| - "description": "Ask for new component name when extract component." |
| 295 | + "markdownDescription": "%configuration.codeActions.askNewComponentName%" |
306 | 296 | },
|
307 | 297 | "vue.codeLens.enabled": {
|
308 | 298 | "type": "boolean",
|
309 | 299 | "default": true,
|
310 |
| - "description": "Enabled code lens." |
| 300 | + "markdownDescription": "%configuration.codeLens.enabled%" |
311 | 301 | },
|
312 | 302 | "vue.complete.casing.tags": {
|
313 | 303 | "type": "string",
|
|
324 | 314 | "<PascalCase>"
|
325 | 315 | ],
|
326 | 316 | "default": "autoPascal",
|
327 |
| - "description": "Preferred tag name case." |
| 317 | + "markdownDescription": "%configuration.complete.casing.tags%" |
328 | 318 | },
|
329 | 319 | "vue.complete.casing.props": {
|
330 | 320 | "type": "string",
|
|
341 | 331 | ":camelCase=\"...\""
|
342 | 332 | ],
|
343 | 333 | "default": "autoKebab",
|
344 |
| - "description": "Preferred attr name case." |
| 334 | + "markdownDescription": "%configuration.complete.casing.props%" |
345 | 335 | },
|
346 | 336 | "vue.complete.defineAssignment": {
|
347 | 337 | "type": "boolean",
|
348 | 338 | "default": true,
|
349 |
| - "description": "Auto add `const props = ` before `defineProps` when selecting the completion item `props`. (also `emit` and `slots`)" |
| 339 | + "markdownDescription": "%configuration.complete.defineAssignment%" |
350 | 340 | },
|
351 | 341 | "vue.autoInsert.dotValue": {
|
352 | 342 | "type": "boolean",
|
353 | 343 | "default": false,
|
354 |
| - "description": "Auto-complete Ref value with `.value`." |
| 344 | + "markdownDescription": "%configuration.autoInsert.dotValue%" |
355 | 345 | },
|
356 | 346 | "vue.autoInsert.bracketSpacing": {
|
357 | 347 | "type": "boolean",
|
358 | 348 | "default": true,
|
359 |
| - "description": "Auto add space between double curly brackets: {{|}} -> {{ | }}" |
| 349 | + "markdownDescription": "%configuration.autoInsert.bracketSpacing%" |
360 | 350 | },
|
361 | 351 | "vue.inlayHints.destructuredProps": {
|
362 | 352 | "type": "boolean",
|
363 | 353 | "default": false,
|
364 |
| - "markdownDescription": "Show inlay hints for destructured props:\n\n```ts\nwatch(() => /* props. */foo, () => { ... });\n```" |
| 354 | + "markdownDescription": "%configuration.inlayHints.destructuredProps%" |
365 | 355 | },
|
366 | 356 | "vue.inlayHints.missingProps": {
|
367 | 357 | "type": "boolean",
|
368 | 358 | "default": false,
|
369 |
| - "markdownDescription": "Show inlay hints for missing required props:\n\n```html\n<Comp />\n<!-- ^ foo! -->\n```" |
| 359 | + "markdownDescription": "%configuration.inlayHints.missingProps%" |
370 | 360 | },
|
371 | 361 | "vue.inlayHints.inlineHandlerLeading": {
|
372 | 362 | "type": "boolean",
|
373 | 363 | "default": false,
|
374 |
| - "markdownDescription": "Show inlay hints for event argument in inline handlers:\n\n```html\n<Comp @foo=\"/* $event => */console.log($event)\" />\n```" |
| 364 | + "markdownDescription": "%configuration.inlayHints.inlineHandlerLeading%" |
375 | 365 | },
|
376 | 366 | "vue.inlayHints.optionsWrapper": {
|
377 | 367 | "type": "boolean",
|
378 | 368 | "default": false,
|
379 |
| - "markdownDescription": "Show inlay hints for component options wrapper for type support:\n\n```vue\n<script lang=\"ts\">\nexport default /* (await import('vue')).defineComponent( */{}/* ) */;\n</script>\n```" |
| 369 | + "markdownDescription": "%configuration.inlayHints.optionsWrapper%" |
380 | 370 | },
|
381 | 371 | "vue.inlayHints.vBindShorthand": {
|
382 | 372 | "type": "boolean",
|
383 | 373 | "default": false,
|
384 |
| - "markdownDescription": "Show inlay hints for v-bind shorthand:\n\n```html\n<Comp :foo />\n <!-- ^ =\"foo\" -->\n```" |
| 374 | + "markdownDescription": "%configuration.inlayHints.vBindShorthand%" |
385 | 375 | },
|
386 | 376 | "vue.format.template.initialIndent": {
|
387 | 377 | "type": "boolean",
|
388 |
| - "default": true |
| 378 | + "default": true, |
| 379 | + "markdownDescription": "%configuration.format.template.initialIndent%" |
389 | 380 | },
|
390 |
| - "vue.format.style.initialIndent": { |
| 381 | + "vue.format.script.initialIndent": { |
391 | 382 | "type": "boolean",
|
392 |
| - "default": false |
| 383 | + "default": false, |
| 384 | + "markdownDescription": "%configuration.format.script.initialIndent%" |
393 | 385 | },
|
394 |
| - "vue.format.script.initialIndent": { |
| 386 | + "vue.format.style.initialIndent": { |
395 | 387 | "type": "boolean",
|
396 |
| - "default": false |
| 388 | + "default": false, |
| 389 | + "markdownDescription": "%configuration.format.style.initialIndent%" |
397 | 390 | },
|
398 | 391 | "vue.format.wrapAttributes": {
|
399 | 392 | "type": "string",
|
|
406 | 399 | "aligned-multiple",
|
407 | 400 | "preserve",
|
408 | 401 | "preserve-aligned"
|
409 |
| - ] |
| 402 | + ], |
| 403 | + "markdownDescription": "%configuration.format.wrapAttributes%" |
410 | 404 | }
|
411 | 405 | }
|
412 | 406 | },
|
413 | 407 | "commands": [
|
414 | 408 | {
|
415 | 409 | "command": "vue.action.restartServer",
|
416 |
| - "title": "Restart Vue and TS servers", |
| 410 | + "title": "%command.action.restartServer%", |
417 | 411 | "category": "Vue"
|
418 | 412 | },
|
419 | 413 | {
|
420 | 414 | "command": "vue.action.doctor",
|
421 |
| - "title": "Doctor", |
| 415 | + "title": "%command.action.doctor%", |
422 | 416 | "category": "Vue"
|
423 | 417 | },
|
424 | 418 | {
|
425 | 419 | "command": "vue.action.splitEditors",
|
426 |
| - "title": "Split <script>, <template>, <style> Editors", |
| 420 | + "title": "%command.action.splitEditors%", |
427 | 421 | "category": "Vue",
|
428 | 422 | "icon": "images/split-editors.png"
|
429 | 423 | }
|
|
0 commit comments