-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
254 lines (254 loc) · 8.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
{
"name": "unicode-math-input",
"displayName": "Unicode Math Input",
"description": "Easy way to insert unicode math symbols ∀ programming languages",
"version": "0.6.3",
"publisher": "czhang03",
"license": "LGPL-3.0",
"homepage": "https://github.com/czhang03/unicode-math-vscode",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/czhang03/unicode-math-vscode"
},
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Snippets"
],
"keywords": [
"unicode",
"math",
"symbols",
"shortcuts",
"snippets"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"command": "unicode-math-input.commit",
"title": "commit the string before the cursor to unicode",
"category": "Unicode Math"
}
],
"keybindings": [
{
"command": "unicode-math-input.commit",
"key": "tab",
"when": "editorTextFocus && !inlineSuggestionVisible && !suggestWidgetVisible && !editorTabMovesFocus && !inSnippetMode && !hasSnippetCompletions && !editorTabMovesFocus && !editorReadonly"
}
],
"configuration": {
"title": "Unicode Math Input",
"properties": {
"unicodeMath.TriggerStrings": {
"title": "Trigger Strings (deprecated)",
"type": "array",
"items": {
"type": "string"
},
"default": [
"\\"
],
"description": "This is the strings that triggers the completion and commit, default is '\\'",
"markdownDeprecationMessage": "This setting will be deprecated at 1.0, please use `unicodeMathInput.TriggerStrings` instead"
},
"unicodeMathInput.TriggerStrings": {
"title": "Trigger Strings",
"type": "array",
"items": {
"type": "string"
},
"default": [
"\\"
],
"description": "This is the strings that triggers the completion and commit, default is '\\'"
},
"unicodeMath.WarnPrefixFail": {
"type": "string",
"enum": ["on", "off", "concise"],
"enumDescriptions": [
"send a warning when some character cannot be converted to the font described by the prefix",
"do not send a warning when some character cannot be converted to the font described by the prefix",
"send a concise (modal) warning when some character cannot be converted to the font described by the prefix"
],
"default": [
"on"
],
"description": "Send a warning when there is some character cannot be converted to unicode in the prefix conversion"
},
"unicodeMath.WarnSymbolFail": {
"type": "string",
"enum": ["on", "off", "concise"],
"enumDescriptions": [
"send a warning when some LaTeX command cannot be converted to unicode",
"do not send a warning when some LaTeX command cannot be converted to unicode",
"send a concise (modal) warning when some LaTeX command cannot be converted to unicode"
],
"default": [
"off"
],
"description": "Send a warning when a symbol cannot be converted to unicode"
},
"unicodeMathInput.SubscriptFontCommands": {
"title": "Subscript Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"_", "sub"
],
"description": "The commands to trigger conversion to unicode subscripts, these strings do not include the trigger string."
},
"unicodeMathInput.SuperscriptFontCommands": {
"title": "Superscript Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"^", "sup"
],
"description": "The commands to trigger conversion to unicode superscripts, these strings do not include the trigger string."
},
"unicodeMathInput.ItalicFontCommands": {
"title": "Italic Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"i", "it", "mit", "mathit"
],
"description": "The commands to trigger conversion to italic font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.BoldFontCommands": {
"title": "Bold Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"b", "bf", "mbf", "mathbf"
],
"description": "The commands to trigger conversion to bold font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.MathCalFontCommands": {
"title": "mathcal Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"cal", "mcal", "mathcal"
],
"markdownDescription": "The commands to trigger conversion to `\\mathcal{}` font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.MathFrakFontCommands": {
"title": "mathfrak Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"frak", "mfrak", "mathfrak"
],
"markdownDescription": "The commands to trigger conversion to `\\mathfrak{}` font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.MathBBFontCommands": {
"title": "mathbb Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"bb", "Bbb", "mbb", "mathbb"
],
"markdownDescription": "The commands to trigger conversion to `\\mathbb{}` font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.mathsfFontCommands": {
"title": "mathsf Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"sf", "msf", "mathsf"
],
"markdownDescription": "The commands to trigger conversion to `\\mathsf{}` font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.mathttFontCommands": {
"title": "mathtt Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"tt", "mtt", "mathtt"
],
"markdownDescription": "The commands to trigger conversion to `\\mathtt{}` font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.mathscrFontCommands": {
"title": "mathscr Font Commands",
"type": "array",
"items": {
"type": "string"
},
"default": [
"scr", "mscr", "mathscr"
],
"markdownDescription": "The commands to trigger conversion to `\\mathscr{}` font unicode, these strings do not include the trigger string."
},
"unicodeMathInput.disableInLanguages": {
"title": "Disable In The Following Languages",
"type": "array",
"items": {
"type": "string"
},
"default": [ ],
"markdownDescription": "Unicode Math Input will not be activated when the [language IDs](https://code.visualstudio.com/docs/languages/identifiers) of current file is in this list"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "eslint \"src/**/*.ts\"",
"test-compile": "tsc -p ./",
"pretest": "npm run test-compile",
"test": "node ./out/tests/runTest.js"
},
"capabilities": {
"completionProvider": {
"resolveProvider": true
}
},
"devDependencies": {
"glob": "^10.3.10",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.8",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.22.0",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.0.2",
"fast-check": "^3.15.0",
"mocha": "^10.2.0",
"typescript": "^5.3.3",
"ovsx": "^0.8.3",
"npm-check-updates": "^16.14.12"
}
}