@cspell/dict-scientific-terms-us 3.0.8 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/cspell-ext.json +7 -20
- package/dict/custom_scientific_US.trie.gz +0 -0
- package/dict/mathematics_US.txt.gz +0 -0
- package/package.json +6 -6
- package/custom_scientific_US.trie.gz +0 -0
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ Add the following to your VSCode settings:
|
|
|
37
37
|
```jsonc
|
|
38
38
|
{
|
|
39
39
|
"cSpell.import": ["@cspell/dict-scientific-terms-us/cspell-ext.json"],
|
|
40
|
-
"cSpell.dictionaries": ["scientific-terms-us"],
|
|
40
|
+
"cSpell.dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
|
|
41
41
|
}
|
|
42
42
|
```
|
|
43
43
|
|
|
@@ -51,7 +51,7 @@ Add the following to your VSCode settings:
|
|
|
51
51
|
```jsonc
|
|
52
52
|
{
|
|
53
53
|
"import": ["@cspell/dict-scientific-terms-us/cspell-ext.json"],
|
|
54
|
-
"dictionaries": ["scientific-terms-us"],
|
|
54
|
+
"dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
|
|
55
55
|
}
|
|
56
56
|
```
|
|
57
57
|
|
|
@@ -67,6 +67,7 @@ import:
|
|
|
67
67
|
- '@cspell/dict-scientific-terms-us/cspell-ext.json'
|
|
68
68
|
dictionaries:
|
|
69
69
|
- scientific-terms-us
|
|
70
|
+
- mathematics-terms-us
|
|
70
71
|
```
|
|
71
72
|
|
|
72
73
|
</details>
|
|
@@ -84,8 +85,8 @@ Add the following to your VSCode settings:
|
|
|
84
85
|
|
|
85
86
|
```jsonc
|
|
86
87
|
{
|
|
87
|
-
"cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us/cspell-ext.json"],
|
|
88
|
-
"cSpell.dictionaries": ["scientific-terms-us"],
|
|
88
|
+
"cSpell.import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@3/cspell-ext.json"],
|
|
89
|
+
"cSpell.dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
|
|
89
90
|
}
|
|
90
91
|
```
|
|
91
92
|
|
|
@@ -98,8 +99,8 @@ Add the following to your VSCode settings:
|
|
|
98
99
|
|
|
99
100
|
```jsonc
|
|
100
101
|
{
|
|
101
|
-
"import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us/cspell-ext.json"],
|
|
102
|
-
"dictionaries": ["scientific-terms-us"],
|
|
102
|
+
"import": ["https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@3/cspell-ext.json"],
|
|
103
|
+
"dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
|
|
103
104
|
}
|
|
104
105
|
```
|
|
105
106
|
|
|
@@ -112,24 +113,27 @@ Add the following to your VSCode settings:
|
|
|
112
113
|
|
|
113
114
|
```yaml
|
|
114
115
|
import:
|
|
115
|
-
- https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us/cspell-ext.json
|
|
116
|
+
- https://cdn.jsdelivr.net/npm/@cspell/dict-scientific-terms-us@3/cspell-ext.json
|
|
116
117
|
dictionaries:
|
|
117
118
|
- scientific-terms-us
|
|
119
|
+
- mathematics-terms-us
|
|
118
120
|
```
|
|
119
121
|
|
|
120
122
|
</details>
|
|
121
123
|
|
|
122
124
|
## Dictionary Information
|
|
123
125
|
|
|
124
|
-
| Name
|
|
125
|
-
|
|
|
126
|
-
| `scientific-terms-us`
|
|
126
|
+
| Name | Enabled | Description |
|
|
127
|
+
| ---------------------- | ------- | -------------------------------- |
|
|
128
|
+
| `scientific-terms-us` | **Yes** | Scientific Terms US dictionary. |
|
|
129
|
+
| `mathematics-terms-us` | **Yes** | Mathematics Terms US dictionary. |
|
|
127
130
|
|
|
128
131
|
## Language Settings
|
|
129
132
|
|
|
130
|
-
| Name
|
|
131
|
-
|
|
|
132
|
-
| `scientific-terms-us`
|
|
133
|
+
| Name | Locale | File Type |
|
|
134
|
+
| ---------------------- | ------ | --------- |
|
|
135
|
+
| `scientific-terms-us` | `*` | `*` |
|
|
136
|
+
| `mathematics-terms-us` | `*` | `*` |
|
|
133
137
|
|
|
134
138
|
<!--- @@inject-end: ./static/install.md --->
|
|
135
139
|
|
package/cspell-ext.json
CHANGED
|
@@ -1,42 +1,29 @@
|
|
|
1
|
-
// cSpell Settings
|
|
2
1
|
{
|
|
3
2
|
"id": "scientific-terms-us",
|
|
4
3
|
"name": "Scientific Terms US",
|
|
5
4
|
"description": "Scientific Terms US dictionary.",
|
|
6
5
|
"readonly": true,
|
|
7
|
-
// List of dictionary files to add to the global list of dictionaries
|
|
8
6
|
"dictionaryDefinitions": [
|
|
9
7
|
{
|
|
10
8
|
"name": "scientific-terms-us",
|
|
11
|
-
"path": "./custom_scientific_US.trie.gz",
|
|
9
|
+
"path": "./dict/custom_scientific_US.trie.gz",
|
|
12
10
|
"description": "Scientific Terms US dictionary."
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "mathematics-terms-us",
|
|
14
|
+
"path": "./dict/mathematics_US.txt.gz",
|
|
15
|
+
"description": "Mathematics Terms US dictionary."
|
|
13
16
|
}
|
|
14
17
|
],
|
|
15
|
-
// Dictionaries to always be used.
|
|
16
|
-
// Generally left empty
|
|
17
18
|
"dictionaries": [],
|
|
18
|
-
// Language Rules to apply to matching files.
|
|
19
|
-
// Files are matched on `languageId` and `locale`
|
|
20
19
|
"languageSettings": [
|
|
21
20
|
{
|
|
22
|
-
// VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
|
|
23
|
-
// * will match against any file type.
|
|
24
21
|
"languageId": "*",
|
|
25
|
-
// Language locale. i.e. en-US, de-AT, or ru. * will match all locals.
|
|
26
|
-
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
|
|
27
22
|
"locale": "*",
|
|
28
|
-
// By default the whole text of a file is included for spell checking
|
|
29
|
-
// Adding patterns to the "includeRegExpList" to only include matching patterns
|
|
30
23
|
"includeRegExpList": [],
|
|
31
|
-
// To exclude patterns, add them to "ignoreRegExpList"
|
|
32
24
|
"ignoreRegExpList": [],
|
|
33
|
-
// regex patterns than can be used with ignoreRegExpList or includeRegExpList
|
|
34
|
-
// Example: "pattern": [{ "name": "mdash", "pattern": "—" }]
|
|
35
|
-
// This could be included in "ignoreRegExpList": ["mdash"]
|
|
36
25
|
"patterns": [],
|
|
37
|
-
|
|
38
|
-
"dictionaries": ["scientific-terms-us"],
|
|
39
|
-
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
|
|
26
|
+
"dictionaries": ["scientific-terms-us", "mathematics-terms-us"],
|
|
40
27
|
"dictionaryDefinitions": []
|
|
41
28
|
}
|
|
42
29
|
]
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/dict-scientific-terms-us",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Scientific Terms US dictionary for cspell.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"./cspell-ext.json": "./cspell-ext.json"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "cspell-tools-cli build
|
|
16
|
-
"conditional-build": "cspell-tools-cli build --conditional
|
|
15
|
+
"build": "cspell-tools-cli build",
|
|
16
|
+
"conditional-build": "cspell-tools-cli build --conditional",
|
|
17
17
|
"test": "shx head -n 1000 \"src/custom_scientific_US.dic.txt\" | cspell -c ./cspell-ext.json --locale=en --languageId=* stdin",
|
|
18
|
-
"gz": "cspell-tools-cli gzip \"
|
|
18
|
+
"gz": "cspell-tools-cli gzip \"dict/*.trie\" \"dict/*.txt\"",
|
|
19
19
|
"prepare:dictionary": "pnpm gz",
|
|
20
20
|
"prepublishOnly": "echo pre-publish"
|
|
21
21
|
},
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/scientific_terms_US#readme",
|
|
40
40
|
"files": [
|
|
41
|
-
"
|
|
41
|
+
"dict/*.gz",
|
|
42
42
|
"cspell-ext.json"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "2a78e5990618ad1f4baeacac4602141622d55ea5"
|
|
45
45
|
}
|
|
Binary file
|