|
200 | 200 | "type": "object" |
201 | 201 | }, |
202 | 202 | "CustomDictionaryPath": { |
203 | | - "$ref": "#/definitions/FsDictionaryPath", |
204 | | - "description": "A File System Path to a dictionary file.", |
205 | | - "markdownDescription": "A File System Path to a dictionary file." |
| 203 | + "description": "A path or url to a custom dictionary file.", |
| 204 | + "markdownDescription": "A path or url to a custom dictionary file.", |
| 205 | + "type": "string" |
206 | 206 | }, |
207 | 207 | "CustomDictionaryScope": { |
208 | 208 | "description": "Specifies the scope of a dictionary.", |
|
239 | 239 | "DictionaryDefinitionAlternate": { |
240 | 240 | "additionalProperties": false, |
241 | 241 | "deprecated": true, |
242 | | - "deprecationMessage": "Use {@link DictionaryDefinitionPreferred } instead.", |
| 242 | + "deprecationMessage": "Use {@link DictionaryDefinitionPreferred } instead.\nThis will be removed in a future release.", |
243 | 243 | "description": "Only for legacy dictionary definitions.", |
244 | 244 | "markdownDescription": "Only for legacy dictionary definitions.", |
245 | 245 | "properties": { |
|
304 | 304 | "description": "Used to provide extra data related to the dictionary", |
305 | 305 | "markdownDescription": "Used to provide extra data related to the dictionary", |
306 | 306 | "properties": { |
| 307 | + "btrie": { |
| 308 | + "$ref": "#/definitions/DictionaryPathToBTrie", |
| 309 | + "description": "An alternative path to a bTrie dictionary file. It will be used in place of `path` if the version of CSpell being used supports btrie files.", |
| 310 | + "markdownDescription": "An alternative path to a bTrie dictionary file.\nIt will be used in place of `path` if the version of CSpell being used\nsupports btrie files.", |
| 311 | + "since": "9.6.0" |
| 312 | + }, |
307 | 313 | "description": { |
308 | 314 | "description": "Optional description of the contents / purpose of the dictionary.", |
309 | 315 | "markdownDescription": "Optional description of the contents / purpose of the dictionary.", |
|
329 | 335 | }, |
330 | 336 | "path": { |
331 | 337 | "$ref": "#/definitions/DictionaryPath", |
332 | | - "description": "Path to the file.", |
333 | | - "markdownDescription": "Path to the file." |
| 338 | + "description": "Path or url to the dictionary file.", |
| 339 | + "markdownDescription": "Path or url to the dictionary file." |
334 | 340 | }, |
335 | 341 | "repMap": { |
336 | 342 | "$ref": "#/definitions/ReplaceMap", |
|
371 | 377 | "markdownDescription": "When `true`, let's the spell checker know that words can be added to this dictionary.", |
372 | 378 | "type": "boolean" |
373 | 379 | }, |
| 380 | + "btrie": { |
| 381 | + "$ref": "#/definitions/DictionaryPathToBTrie", |
| 382 | + "description": "An alternative path to a bTrie dictionary file. It will be used in place of `path` if the version of CSpell being used supports btrie files.", |
| 383 | + "markdownDescription": "An alternative path to a bTrie dictionary file.\nIt will be used in place of `path` if the version of CSpell being used\nsupports btrie files.", |
| 384 | + "since": "9.6.0" |
| 385 | + }, |
374 | 386 | "description": { |
375 | 387 | "description": "Optional description of the contents / purpose of the dictionary.", |
376 | 388 | "markdownDescription": "Optional description of the contents / purpose of the dictionary.", |
|
393 | 405 | }, |
394 | 406 | "path": { |
395 | 407 | "$ref": "#/definitions/CustomDictionaryPath", |
396 | | - "description": "Path to custom dictionary text file.", |
397 | | - "markdownDescription": "Path to custom dictionary text file." |
| 408 | + "description": "A file path or url to a custom dictionary file.", |
| 409 | + "markdownDescription": "A file path or url to a custom dictionary file." |
398 | 410 | }, |
399 | 411 | "repMap": { |
400 | 412 | "$ref": "#/definitions/ReplaceMap", |
|
695 | 707 | "DictionaryDefinitionPreferred": { |
696 | 708 | "additionalProperties": false, |
697 | 709 | "properties": { |
| 710 | + "btrie": { |
| 711 | + "$ref": "#/definitions/DictionaryPathToBTrie", |
| 712 | + "description": "An alternative path to a bTrie dictionary file. It will be used in place of `path` if the version of CSpell being used supports btrie files.", |
| 713 | + "markdownDescription": "An alternative path to a bTrie dictionary file.\nIt will be used in place of `path` if the version of CSpell being used\nsupports btrie files.", |
| 714 | + "since": "9.6.0" |
| 715 | + }, |
698 | 716 | "description": { |
699 | 717 | "description": "Optional description of the contents / purpose of the dictionary.", |
700 | 718 | "markdownDescription": "Optional description of the contents / purpose of the dictionary.", |
|
717 | 735 | }, |
718 | 736 | "path": { |
719 | 737 | "$ref": "#/definitions/DictionaryPath", |
720 | | - "description": "Path to the file.", |
721 | | - "markdownDescription": "Path to the file." |
| 738 | + "description": "Path or url to the dictionary file.", |
| 739 | + "markdownDescription": "Path or url to the dictionary file." |
722 | 740 | }, |
723 | 741 | "repMap": { |
724 | 742 | "$ref": "#/definitions/ReplaceMap", |
|
870 | 888 | "type": "string" |
871 | 889 | }, |
872 | 890 | "DictionaryPath": { |
873 | | - "description": "A File System Path to a dictionary file. Pattern: `^.*\\.(?:txt|trie|dic)(?:\\.gz)?$`", |
874 | | - "markdownDescription": "A File System Path to a dictionary file.\nPattern: `^.*\\.(?:txt|trie|dic)(?:\\.gz)?$`", |
| 891 | + "description": "A File System Path to a dictionary file. Pattern: `^.*\\.(?:txt|trie|btrie|dic)(?:\\.gz)?$`", |
| 892 | + "markdownDescription": "A File System Path to a dictionary file.\nPattern: `^.*\\.(?:txt|trie|btrie|dic)(?:\\.gz)?$`", |
| 893 | + "type": "string" |
| 894 | + }, |
| 895 | + "DictionaryPathToBTrie": { |
| 896 | + "description": "A File System Path to a dictionary file. Pattern: `^.*\\.(?:btrie)(?:\\.gz)?$`", |
| 897 | + "markdownDescription": "A File System Path to a dictionary file.\nPattern: `^.*\\.(?:btrie)(?:\\.gz)?$`", |
| 898 | + "since": "9.6.0", |
875 | 899 | "type": "string" |
876 | 900 | }, |
877 | 901 | "DictionaryRef": { |
|
948 | 972 | }, |
949 | 973 | "type": "object" |
950 | 974 | }, |
951 | | - "FsDictionaryPath": { |
952 | | - "description": "A File System Path. Relative paths are relative to the configuration file.", |
953 | | - "markdownDescription": "A File System Path. Relative paths are relative to the configuration file.", |
954 | | - "type": "string" |
955 | | - }, |
956 | 975 | "FsPath": { |
957 | 976 | "description": "A File System Path. Relative paths are relative to the configuration file.", |
958 | 977 | "markdownDescription": "A File System Path. Relative paths are relative to the configuration file.", |
|
0 commit comments