-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
329 lines (329 loc) · 9.4 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
{
"name": "language-hsp3",
"publisher": "honobonosun",
"displayName": "language-hsp3",
"description": "language-hsp3 for VSCode",
"version": "1.2.0",
"license": "MIT",
"repository": "https://github.com/honobonosun/vscode-language-hsp3",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:hsp3"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "language-hsp3.run",
"title": "Run HSP program",
"category": "hsp",
"enablement": "editorLangId == hsp3"
},
{
"command": "language-hsp3.make",
"title": "Automatic exe file creation",
"category": "hsp",
"enablement": "editorLangId == hsp3"
},
{
"command": "language-hsp3.RunWithArgs",
"title": "Execution \"Run\" with arguments",
"category": "hsp",
"enablement": "editorLangId == hsp3"
},
{
"command": "language-hsp3.changeOfExecutor",
"title": "Change of Executor",
"category": "hsp",
"enablement": "editorLangId == hsp3"
},
{
"command": "language-hsp3.helpman.search",
"title": "Search for keyword in HDL.",
"category": "hsp",
"enablement": "editorLangId == hsp3"
}
],
"keybindings": [
{
"command": "language-hsp3.run",
"key": "ctrl+k f5",
"when": "editorLangId == hsp3"
},
{
"command": "language-hsp3.make",
"key": "ctrl+f9",
"when": "editorLangId == hsp3"
},
{
"command": "language-hsp3.helpman.search",
"key": "ctrl+f1",
"when": "editorLangId == hsp3"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == hsp3",
"command": "language-hsp3.run",
"group": "navigation",
"alt": "language-hsp3.make"
}
]
},
"configuration": {
"type": "object",
"title": "HSP",
"properties": {
"language-hsp3.compiler": {
"type": "string",
"default": "C:\\hsp351\\hspc.exe",
"description": "Sets the full path of the compiler.",
"scope": "resource"
},
"language-hsp3.runCommands": {
"type": "array",
"default": [
"-dwCra",
"%FILEPATH%"
],
"description": "Set run command.",
"scope": "resource"
},
"language-hsp3.makeCommands": {
"type": "array",
"default": [
"-PmCa",
"%FILEPATH%"
],
"description": "Set auto make exe file command.",
"scope": "resource"
},
"language-hsp3.wineMode": {
"type": "boolean",
"default": false,
"description": "Use wine. The file path is converted to a winepath.",
"scope": "machine"
},
"language-hsp3.useSetHSP3ROOT": {
"type": "boolean",
"default": true,
"description": "Set HSP3_ROOT parameter in exec option env",
"scope": "machine"
},
"language-hsp3.encoding": {
"type": "string",
"default": "Shift_JIS",
"description": "Sets the encoding of the characters output by the compiler.",
"scope": "resource"
},
"language-hsp3.MaxBuffer": {
"type": "integer",
"default": 204800,
"markdownDescription": "Sets the maximum number of bytes of characters received from the compiler. If exceeded, the child process is terminated and any output is truncated. [this at doc, more read hint.](https://nodejs.org/api/child_process.html#child_process_maxbuffer_and_unicode)",
"scope": "resource"
},
"language-hsp3.choiceWorkDirCur": {
"type": "boolean",
"default": false,
"description": "Specify the current directory as your working directory.",
"scope": "resource"
},
"language-hsp3.executor.enable": {
"type": "boolean",
"default": false,
"markdownDescription": "Enables new command execution capabilities for executor.",
"scope": "resource"
},
"language-hsp3.executor.index": {
"type": "string",
"default": "3.51",
"scope": "resource"
},
"language-hsp3.executor.paths": {
"type": "object",
"default": {
"3.51": {
"hide": false,
"path": "C:\\hsp351\\hspc.exe",
"encoding": "Shift_JIS",
"buffer": 204800,
"helpman": "C:\\hsp351\\helphsp\\helpman.exe",
"commands": {
"run": [
"-dwCra",
"%FILEPATH%"
],
"make": [
"-PmCa",
"%FILEPATH%"
]
}
}
},
"scope": "resource"
},
"language-hsp3.outline.enable": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable the outline. *Caution* This feature uses a lot of CPU and memory.",
"scope": "resource"
},
"language-hsp3.outline.masks": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Sets the attributes to exclude from displaying the outline. \n['label', 'deffunc'...]",
"scope": "resource"
},
"language-hsp3.helpman.enable": {
"type": "string",
"enum": [
"disable",
"online",
"local"
],
"default": "local",
"markdownDescription": "Searches HDL for a word selected in the editor or placed in the cursor.",
"scope": "resource"
},
"language-hsp3.helpman.useExecutor": {
"type": "boolean",
"default": true,
"markdownDescription": "Use `executor.paths.helpman` specified in `helpman.exe`.",
"scope": "resource"
},
"language-hsp3.helpman.path.local": {
"type": "string",
"default": "C:\\hsp351\\hsphelp\\helpman.exe",
"markdownDescription": "You must specify an absolute path to `helpman.exe`.",
"scope": "resource"
},
"language-hsp3.helpman.path.online": {
"type": "string",
"default": "",
"markdownDescription": "Specify the URL for the online help. `%s` is replaced by the search character. The code page is UTF-8 fixed.",
"scope": "resource"
}
}
},
"languages": [
{
"id": "hsp3",
"aliases": [
"HSP",
"HSP3",
"hsp",
"hsp3"
],
"extensions": [
".hsp",
".hsp.i",
".as",
".as.i"
],
"configuration": "./language-configuration.json"
},
{
"id": "hs",
"aliases": [
"hs"
],
"extensions": [
".hs"
]
}
],
"grammars": [
{
"language": "hsp3",
"scopeName": "source.hsp3",
"path": "./syntaxes/hsp3.tmLanguage.json"
},
{
"language": "hs",
"scopeName": "text.hs",
"path": "./syntaxes/hs.tmLanguage.json"
}
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"testMatch": [
"**/tests/*.spec.+(ts|tsx|js)"
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"build": "vsce package"
},
"devDependencies": {
"@types/emoji-regex": "^8.0.0",
"@types/jest": "^24.0.20",
"@types/node": "^10.12.21",
"@types/opener": "^1.4.0",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"@vscode/vsce": "^2.20.1",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"prettier": "^1.18.2",
"tslint": "^5.20.0",
"typescript": "^4.3.2"
},
"dependencies": {
"emoji-regex": "^8.0.0",
"iconv-lite": "^0.4.24",
"opener": "^1.5.1"
},
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "This extension does not read settings from the project until they are trusted.",
"restrictedConfigurations": [
"language-hsp3.compiler",
"language-hsp3.runCommands",
"language-hsp3.makeCommands",
"language-hsp3.wineMode",
"language-hsp3.useSetHSP3ROOT",
"language-hsp3.encoding",
"language-hsp3.MaxBuffer",
"language-hsp3.choiceWorkDirCur",
"language-hsp3.executor.enable",
"language-hsp3.executor.index",
"language-hsp3.executor.paths",
"language-hsp3.outline.enable",
"language-hsp3.outline.masks",
"language-hsp3.helpman.enable",
"language-hsp3.helpman.useExecutor",
"language-hsp3.helpman.path.local",
"language-hsp3.helpman.path.online"
]
}
}
}