-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
376 lines (376 loc) · 14.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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
{
"name": "mvbasic",
"displayName": "MV Basic",
"description": "MV Basic",
"version": "2.1.7",
"publisher": "mvextensions",
"license": "MIT",
"icon": "images/mvbasic-logo.png",
"preview": false,
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"keywords": [
"MultiValue",
"Pick",
"PickBASIC",
"D3",
"jBASE",
"MVON#",
"MV# BASIC",
"MV#",
"MVsharp",
"OpenQM",
"UniData",
"UniVerse"
],
"repository": {
"type": "git",
"url": "https://github.com/mvextensions/mvbasic"
},
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Programming Languages",
"Linters",
"Snippets"
],
"homepage": "https://github.com/mvextensions",
"contributes": {
"snippets": [
{
"language": "mvbasic",
"path": "./Syntaxes/snippets.json"
}
],
"languages": [
{
"id": "mvbasic",
"aliases": [
"MultiValue Basic",
"PickBASIC",
"Pick"
],
"extensions": [
".bas",
".b",
".",
""
],
"configuration": "./client/language-configuration.json"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == mvbasic",
"command": "extension.compileProgram"
},
{
"when": "resourceLangId == mvbasic",
"command": "extension.compileDebug"
},
{
"when": "resourceLangId == mvbasic",
"command": "extension.catalogProgram"
}
]
},
"commands": [
{
"command": "extension.compileProgram",
"title": "MVBasic: Compile Basic Program"
},
{
"command": "extension.initialiseRestFS",
"title": "MVBasic: Connect to MultiValue REST FS"
},
{
"command": "extension.compileDebug",
"title": "MVBasic: Compile Basic Program with Debug"
},
{
"command": "extension.catalogProgram",
"title": "MVBasic: Catalog Basic Program"
},
{
"command": "extension.mvonAdmin",
"title": "MVBasic: MVON# Administrator"
}
],
"grammars": [
{
"language": "mvbasic",
"scopeName": "source.mvbasic",
"path": "./Syntaxes/mvon.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "MultiValue Basic configuration",
"properties": {
"MVBasic.gatewayDebug": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "When set to true the MvonGateway will write a log 'gateway.log' to C:\\Temp."
},
"MVBasic.margin": {
"scope": "resource",
"type": "number",
"default": 5,
"description": "The number of characters to use as a margin when formatting."
},
"MVBasic.customWords": {
"scope": "resource",
"type": "string",
"default": "()",
"description": "List of custom words to highlight in a specific color. e.g. (HELLO|WORLD)"
},
"MVBasic.customWordColor": {
"scope": "resource",
"type": "string",
"default": "yellow",
"description": "The color to use when highlighting the custom words."
},
"MVBasic.customWordPath": {
"scope": "resource",
"type": "string",
"description": "Path to a file that contains key value pairs for custom words"
},
"MVBasic.customFunctionPath": {
"scope": "resource",
"type": "string",
"description": "Path to a file that contains key value pairs for custom functions"
},
"MVBasic.indent": {
"scope": "resource",
"type": "number",
"default": 3,
"description": "The number of characters to use when indenting code blocks."
},
"MVBasic.indentComment": {
"scope": "resource",
"type": "string",
"default": "ignore",
"description": "Indentation of comment lines. Set to: left, margin, code, or ignore."
},
"MVBasic.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"MVBasic.useCamelCase": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Use Camelcase for Intellisense keywords."
},
"MVBasic.formattingEnabled": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Set to true to enable automatic code formatting on filesave."
},
"MVBasic.formatStructure": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Set to true to enable cleaner code block structures for code folding."
},
"MVBasic.userVariablesEnabled": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Set to true to enable adding user variables to Intellisense."
},
"MVBasic.RemoteHost": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The host name of the server."
},
"MVBasic.UserName": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The user name to use to login to the server."
},
"MVBasic.encoding": {
"scope": "resource",
"type": "string",
"default": "iso8859-1",
"description": "The encoding type to use when connecting to the server."
},
"MVBasic.ignoreGotoScope": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "The linter will not highlight goto that jump into the middle of loops."
},
"MVBasic.Password": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The password to use to login to the server."
},
"MVBasic.AccountPassword": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The password to use to use for D3/mvBase Logto."
},
"MVBasic.HomePath": {
"scope": "resource",
"type": "string",
"default": "c:\\u2\\ud81",
"description": "The home path for Unidata on server. This is only required for Unidata."
},
"MVBasic.Account": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The Account Name or path on the Server."
},
"MVBasic.AccountPath": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The path the Unidata Account. This is only used for Unidata."
},
"MVBasic.ServerName": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The name of the AccuTerm FTSERVER session which handles the MVRest connection."
},
"MVBasic.RemoteDebug": {
"scope": "resource",
"type": "boolean",
"default": "false",
"description": "Set to true when connecting to a Remote MVON# Host."
},
"MVBasic.EditFiles": {
"scope": "resource",
"type": "array",
"default": [],
"description": "Files that should be opened in the editor."
},
"MVBasic.GatewayType": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The type of host the gateway is connecting to. QM, D3, Universe, Unidata,jBASE or mvBase."
},
"MVBasic.UseGateway": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Connect to the MV Gateway."
},
"MVBasic.UseRestFS": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Use the RestFS file system for accessing the MultiValue server."
},
"MVBasic.RestPath": {
"scope": "resource",
"type": "string",
"default": "http://localhost:9005/mvonrest",
"description": "The URL when connecting via the RestFS file system."
},
"MVBasic.RestFS.AutoConnect": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Automatically connect to the RestFS server without requiring a Connect command."
},
"MVBasic.RestFS.CaseSensitive": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "The RestFS file system is case sensitive."
},
"MVBasic.RestFS.MaxItems": {
"scope": "resource",
"type": "number",
"default": 500,
"description": "The maximum number of items the RestFS file system can return when reading a directory."
},
"MVBasic.RestFS.SelAttr": {
"scope": "resource",
"type": "number",
"default": 0,
"description": "A bitmask of RestFSAttr which limits the items are returned when reading a directory. Default is: folder, file, symlink and data-only."
},
"MVBasic.RestFS.RestAPI": {
"scope": "resource",
"type": "number",
"default": 0,
"description": "The RestFS API version to use. 0 for original MVON# REST gateway, 1 for new gateway, mvConnect, AccuTerm connector."
},
"MVBasic.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VSCode and the language server."
},
"MVBasic.languageType": {
"scope": "resource",
"type": "string",
"default": "UniVerse",
"enum": [
"MVON",
"jBASE",
"UniVerse",
"OpenQM"
],
"description": "The flavor of PICK you are programming against, i.e. MVON, D3, jBASE."
}
}
}
},
"activationEvents": [
"*",
"onLanguage:mvbasic",
"onCommand:extension.compileProgram",
"onCommand:extension.catalogProgram",
"onCommand:extension.CompileDebug",
"onFileSystem:RestFS",
"onCommand:extension.initialiseRestFS"
],
"main": "./client/out/extension",
"scripts": {
"vscode:prepublish": "cd client && webpack --mode production && cd ../server && webpack --mode production",
"webpack": "cd client && webpack --mode development && cd ../server && webpack --mode development",
"webpack-dev": "cd client && webpack --mode development --watch && cd ../server && webpack --mode development --watch",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "bash ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.16",
"@typescript-eslint/parser": "^2.3.0",
"eslint": "^6.4.0",
"mocha": "^10.2.0",
"ts-loader": "^8.0.12",
"typescript": "^4.0.2",
"webpack": "^5.11.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"mvbasic": "file:"
}
}