|
54 | 54 | "title": "GitLens — Use 'GitLens: Open Settings' for a richer, interactive experience", |
55 | 55 | "properties": { |
56 | 56 | "gitlens.autolinks": { |
57 | | - "type": "array", |
| 57 | + "type": [ |
| 58 | + "array", |
| 59 | + "null" |
| 60 | + ], |
| 61 | + "default": null, |
58 | 62 | "items": { |
59 | 63 | "type": "object", |
60 | 64 | "required": [ |
|
72 | 76 | "default": false |
73 | 77 | }, |
74 | 78 | "title": { |
75 | | - "type": "string", |
76 | | - "description": "Specifies an optional title for the generated autolink. Use `<num>` as the variable for the reference number", |
77 | | - "default": null |
| 79 | + "type": [ |
| 80 | + "string", |
| 81 | + "null" |
| 82 | + ], |
| 83 | + "default": null, |
| 84 | + "description": "Specifies an optional title for the generated autolink. Use `<num>` as the variable for the reference number" |
78 | 85 | }, |
79 | 86 | "url": { |
80 | 87 | "type": "string", |
81 | 88 | "description": "Specifies the url of the external resource you want to link to. Use `<num>` as the variable for the reference number" |
82 | 89 | } |
83 | | - }, |
84 | | - "default": null |
| 90 | + } |
85 | 91 | }, |
86 | 92 | "uniqueItems": true, |
87 | | - "markdownDescription": "Specifies autolinks to external resources in commit messages. Use <num> as the variable for the reference number", |
| 93 | + "markdownDescription": "Specifies autolinks to external resources in commit messages. Use `<num>` as the variable for the reference number", |
88 | 94 | "scope": "window" |
89 | 95 | }, |
90 | 96 | "gitlens.blame.avatars": { |
|
100 | 106 | "scope": "window" |
101 | 107 | }, |
102 | 108 | "gitlens.blame.dateFormat": { |
103 | | - "type": "string", |
| 109 | + "type": [ |
| 110 | + "string", |
| 111 | + "null" |
| 112 | + ], |
104 | 113 | "default": null, |
105 | 114 | "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in gutter blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats", |
106 | 115 | "scope": "window" |
|
432 | 441 | "scope": "resource" |
433 | 442 | }, |
434 | 443 | "gitlens.currentLine.dateFormat": { |
435 | | - "type": "string", |
| 444 | + "type": [ |
| 445 | + "string", |
| 446 | + "null" |
| 447 | + ], |
436 | 448 | "default": null, |
437 | 449 | "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) for the current line blame annotation. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats", |
438 | 450 | "scope": "window" |
|
462 | 474 | "scope": "window" |
463 | 475 | }, |
464 | 476 | "gitlens.defaultDateFormat": { |
465 | | - "type": "string", |
| 477 | + "type": [ |
| 478 | + "string", |
| 479 | + "null" |
| 480 | + ], |
466 | 481 | "default": null, |
467 | 482 | "markdownDescription": "Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats", |
468 | 483 | "scope": "window" |
469 | 484 | }, |
470 | 485 | "gitlens.defaultDateShortFormat": { |
471 | | - "type": "string", |
| 486 | + "type": [ |
| 487 | + "string", |
| 488 | + "null" |
| 489 | + ], |
472 | 490 | "default": null, |
473 | 491 | "markdownDescription": "Specifies how short absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats", |
474 | 492 | "scope": "window" |
|
1221 | 1239 | "scope": "window" |
1222 | 1240 | }, |
1223 | 1241 | "gitlens.remotes": { |
1224 | | - "type": "array", |
| 1242 | + "type": [ |
| 1243 | + "array", |
| 1244 | + "null" |
| 1245 | + ], |
1225 | 1246 | "default": null, |
1226 | 1247 | "items": { |
1227 | 1248 | "type": "object", |
|
1400 | 1421 | "scope": "window" |
1401 | 1422 | }, |
1402 | 1423 | "gitlens.statusBar.dateFormat": { |
1403 | | - "type": "string", |
| 1424 | + "type": [ |
| 1425 | + "string", |
| 1426 | + "null" |
| 1427 | + ], |
1404 | 1428 | "default": null, |
1405 | 1429 | "markdownDescription": "Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for valid formats", |
1406 | 1430 | "scope": "window" |
|
1817 | 1841 | "scope": "window" |
1818 | 1842 | }, |
1819 | 1843 | "gitlens.advanced.blame.customArguments": { |
1820 | | - "type": "array", |
| 1844 | + "type": [ |
| 1845 | + "array", |
| 1846 | + "null" |
| 1847 | + ], |
1821 | 1848 | "default": null, |
1822 | 1849 | "items": { |
1823 | 1850 | "type": "string" |
|
1923 | 1950 | "scope": "resource" |
1924 | 1951 | }, |
1925 | 1952 | "gitlens.advanced.similarityThreshold": { |
1926 | | - "anyOf": [ |
1927 | | - { |
1928 | | - "type": "number" |
1929 | | - }, |
1930 | | - { |
1931 | | - "type": "null" |
1932 | | - } |
| 1953 | + "type": [ |
| 1954 | + "number", |
| 1955 | + "null" |
1933 | 1956 | ], |
1934 | 1957 | "default": null, |
1935 | 1958 | "markdownDescription": "Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename", |
|
0 commit comments