-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
335 lines (335 loc) · 9.6 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
{
"name": "z80-macroasm",
"displayName": "Z80 Macro-Assembler",
"description": "Support for Z80 macro-assemblers in Visual Studio Code",
"version": "0.7.10",
"icon": "logo.png",
"publisher": "mborik",
"categories": [
"Programming Languages"
],
"keywords": [
"assembly",
"macro",
"assembler",
"Zilog",
"Z80",
"Sinclair",
"ZX-Spectrum",
"Amstrad",
"CPC",
"MSX"
],
"homepage": "https://github.com/mborik/z80-macroasm-vscode",
"bugs": "https://github.com/mborik/z80-macroasm-vscode/issues",
"repository": {
"type": "git",
"url": "https://github.com/mborik/z80-macroasm-vscode.git"
},
"pricing": "Free",
"license": "MIT",
"engines": {
"vscode": "^1.52.0",
"node": "^16.2.0"
},
"activationEvents": [
"onLanguage"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Z80 Macro-Assembler configuration",
"properties": {
"z80-macroasm.files.include": {
"type": "string",
"default": "**/*.{a80,asm,inc,s}",
"description": "Files to include and work with. If you, or your macro-assembler using a different conventions of source file extensions then change it here."
},
"z80-macroasm.files.exclude": {
"type": [
"string",
"null"
],
"default": null,
"description": "Choose files or directories to exclude (e.g '**/*.{lst}')."
},
"z80-macroasm.format.enabled": {
"type": "boolean",
"default": false,
"description": "Formatter: Turn on the experimental feature of format on-type or on-save."
},
"z80-macroasm.format.baseIndent": {
"type": "number",
"default": 2,
"description": "Formatter: How many tabstops you prefer before the instructions or keywords (default 2)."
},
"z80-macroasm.format.controlIndent": {
"type": "number",
"default": 1,
"description": "Formatter: How many tabstops you prefer before the control structure keywords, selections, modules, or blocks (default 1)."
},
"z80-macroasm.format.whitespaceAfterInstruction": {
"type": "string",
"enum": [
"auto",
"tab",
"single-space"
],
"default": "auto",
"description": "Formatter: Which type of whitespace you want to put after the instruction (default `auto` will autodetect file's tabstop type and width)."
},
"z80-macroasm.format.spaceAfterArgument": {
"type": "boolean",
"default": false,
"description": "Formatter: If you want to put a single space character after comma (instruction's argument)."
},
"z80-macroasm.format.spaceAfterInstruction": {
"type": "boolean",
"default": true,
"description": "Formatter: If you want to put a single space character after instruction (before colon separator)."
},
"z80-macroasm.format.spacesAroundOperators": {
"type": "boolean",
"default": false,
"description": "Formatter: If you want to wrap an operators with spaces."
},
"z80-macroasm.format.uppercaseKeywords": {
"type": [
"boolean",
"string"
],
"enum": [
"auto",
true,
false
],
"default": "auto",
"description": "Formatter: Uppercase all keywords, instructions and registers (autodetect case by default)."
},
"z80-macroasm.format.bracketType": {
"type": "string",
"enum": [
"no-change",
"round",
"square"
],
"default": "no-change",
"description": "Formatter: Define which type of brackets around the instruction's arguments (pointers) you prefer: `(hl)` or `[hl]` (by default keep untouched)."
},
"z80-macroasm.format.splitInstructionsByColon": {
"type": "boolean",
"default": true,
"description": "Formatter: Split colon separated instructions to lines."
},
"z80-macroasm.format.colonAfterLabels": {
"type": [
"boolean",
"string"
],
"enum": [
"no-change",
true,
false
],
"default": "no-change",
"description": "Formatter: Put colon after each label or symbol (by default keep untouched)."
},
"z80-macroasm.format.hexaNumberStyle": {
"type": "string",
"enum": [
"no-change",
"hash",
"motorola",
"intel",
"intel-uppercase",
"c-style"
],
"default": "no-change",
"description": "Formatter: Define which hexadecimal number format you prefer (disabled by default, see README for full specs)."
},
"z80-macroasm.format.hexaNumberCase": {
"type": [
"boolean",
"string"
],
"enum": [
"no-change",
true,
false
],
"default": "no-change",
"description": "Formatter: When formatting of hexadecimal numbers was enabled, whether it's to be additional case processing applied (by default keep untouched)."
},
"z80-macroasm.suggestOnInstructions": {
"type": "boolean",
"default": false,
"description": "If true, extension will suggest basic instruction mnemonics for the auto-completion. Otherwise, only instruction arguments will be suggested."
},
"z80-macroasm.seekSymbolsThroughWorkspace": {
"type": "boolean",
"default": false,
"description": "If true, extension will crawl through all workspace files to document all symbols. Otherwise, only includes are taken into account."
}
}
},
"problemMatchers": [
{
"name": "errmatcher-as",
"owner": "z80-macroasm",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^> > >(.*)\\(([0-9]+)\\): (error|warning):\\s+(.*)(\\x1B\\[K)?$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
]
},
{
"name": "errmatcher-sjasmplus",
"owner": "z80-macroasm",
"fileLocation": [
"autoDetect",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^(.*)\\(([0-9]+)\\): (error|warning):\\s+(.*)$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
]
},
{
"name": "errmatcher-sjasm",
"owner": "z80-macroasm",
"fileLocation": [
"absolute"
],
"pattern": [
{
"regexp": "^([^\\(]+)(?:\\()(\\d+)(?:\\)\\s*\\:\\s+)(.+)$",
"file": 1,
"line": 2,
"message": 3
}
]
},
{
"name": "errmatcher-tniasm",
"owner": "z80-macroasm",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^(Warning|Error|Syntax Error) in line (\\d+) \\(([^)]+)\\): (.*)$",
"severity": 1,
"line": 2,
"file": 3,
"message": 4
}
]
},
{
"name": "errmatcher-tniasm-preprocessor",
"owner": "z80-macroasm",
"pattern": [
{
"kind": "file",
"regexp": "^(Warning|Error) .* (\\S+)! .*$",
"message": 0,
"severity": 1,
"file": 2
}
]
},
{
"name": "errmatcher-rasm",
"owner": "z80-macroasm",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^\\[(.*):(\\d+)\\]\\s+(Warning)?:?(.*)$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
]
},
{
"name": "errmatcher-pasmo",
"owner": "z80-macroasm",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
"regexp": "^([^:]+):([0-9]+)\\s+(.*)$",
"file": 1,
"line": 2,
"message": 3
}
]
}
],
"languages": [
{
"id": "z80-macroasm",
"aliases": [
"Z80 Macro-Assembler",
"z80-asm"
],
"extensions": [
".a80",
".asm",
".inc",
".s"
],
"configuration": "./language.configuration.json"
}
],
"snippets": [
{
"language": "z80-macroasm",
"path": "./snippets/z80-macroasm.json"
}
],
"grammars": [
{
"language": "z80-macroasm",
"scopeName": "source.z80asm",
"path": "./syntaxes/z80-macroasm.tmLanguage.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "eslint -c .eslintrc.json src/**/*.ts"
},
"devDependencies": {
"@types/node": "^15.6.1",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"typescript": "^4.1.3",
"vscode-test": "^1.5.2"
}
}