-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
237 lines (237 loc) · 6.82 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
{
"name": "vscode-language-merlin6502",
"displayName": "Merlin 6502",
"description": "Merlin assembly language for 6502 family of processors",
"icon": "language-merlin-icon.png",
"version": "3.2.1",
"license": "GPL-3.0-only",
"publisher": "dfgordon",
"repository": {
"type": "git",
"url": "https://github.com/dfgordon/vscode-language-merlin6502"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages"
],
"main": "./client/out/extension.js",
"contributes": {
"configuration": {
"title": "Merlin 6502",
"properties": {
"merlin6502.version": {
"enum": [
"Merlin 8",
"Merlin 16",
"Merlin 16+",
"Merlin 32"
],
"default": "Merlin 8",
"markdownDescription": "Accept syntax for this version of Merlin"
},
"merlin6502.flag.caseSensitive": {
"enum": [
"ignore",
"info",
"warn",
"error"
],
"default": "ignore",
"description": "Flag lower case mnemonics."
},
"merlin6502.flag.unclosedFolds": {
"enum": [
"ignore",
"info",
"warn",
"error"
],
"default": "error",
"description": "Flag folding ranges that are never closed."
},
"merlin6502.columns.c1": {
"type": "number",
"default": 9,
"minimum": 1,
"markdownDescription": "Width of the label column to use in formatting"
},
"merlin6502.columns.c2": {
"type": "number",
"default": 6,
"minimum": 1,
"markdownDescription": "Width of the instruction column to use in formatting"
},
"merlin6502.columns.c3": {
"type": "number",
"default": 11,
"minimum": 1,
"markdownDescription": "Width of the operand column to use in formatting"
},
"merlin6502.linker.detect": {
"type": "number",
"default": 0.1,
"minimum": 0,
"maximum": 1,
"markdownDescription": "Threshold to trigger interpretation as a linker command file. This is the ratio of occurrences of ASM, LNK, or LKV, to lines in the document."
},
"merlin6502.hovers.specialAddresses": {
"type": "boolean",
"default": true,
"markdownDescription": "Show hovers for special addresses such as ROM routines, soft switches, etc."
},
"merlin6502.hovers.mnemonics": {
"type": "boolean",
"default": true,
"markdownDescription": "Show hovers for opcode mnemonics such as `LDA`, `STA`, etc."
},
"merlin6502.hovers.pseudo": {
"type": "boolean",
"default": true,
"markdownDescription": "Show hovers for pseudo-opcode mnemonics such as `EQU`, `ASC`, etc."
},
"merlin6502.completions.lowerCase": {
"type": "boolean",
"default": false,
"markdownDescription": "Use lower case in completions and snippets if `flag.caseSensitive==\"ignore\"`"
},
"merlin6502.completions.ibas": {
"type": "boolean",
"default": false,
"markdownDescription": "Offer address completions applicable to Integer BASIC"
},
"merlin6502.completions.abas": {
"type": "boolean",
"default": true,
"markdownDescription": "Offer address completions applicable to Applesoft BASIC"
},
"merlin6502.disassembly.brk": {
"type": "boolean",
"default": false,
"markdownDescription": "Recognize BRK instruction and operand during disassembly"
},
"merlin6502.diagnostics.live": {
"type": "boolean",
"default": true,
"markdownDescription": "Update diagnostics on any document change. When false, diagnostics only update on save, rescan, or activate."
}
}
},
"languages": [
{
"id": "merlin6502",
"extensions": [
".S",
".asm"
],
"firstLine": "^ *(ORG|org) *\\$?[0-9A-Fa-f]+",
"configuration": "./language-configuration.json"
}
],
"commands": [
{
"command": "merlin6502.format",
"title": "merlin6502: Format for copy and paste into Merlin 8"
},
{
"command": "merlin6502.getFrontVii",
"title": "merlin6502: Insert from Virtual ][ front machine"
},
{
"command": "merlin6502.getAppleWinSaveState",
"title": "merlin6502: Insert from AppleWin save state"
},
{
"command": "merlin6502.getFromDiskImage",
"title": "merlin6502: Insert from disk image"
},
{
"command": "merlin6502.saveToDiskImage",
"title": "merlin6502: Save to disk image"
},
{
"command": "merlin6502.selectMaster",
"title": "merlin6502: Select master file"
},
{
"command": "merlin6502.rescan",
"title": "merlin6502: Rescan modules and includes"
},
{
"command": "merlin6502.toData",
"title": "merlin6502: Convert code lines to data lines"
},
{
"command": "merlin6502.toCode",
"title": "merlin6502: Convert data lines to code lines"
}
],
"menus": {
"commandPalette": [
{
"command": "merlin6502.format",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.getFrontVii",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.getAppleWinSaveState",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.getFromDiskImage",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.saveToDiskImage",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.selectMaster",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.rescan",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.toData",
"when": "editorLangId == merlin6502"
},
{
"command": "merlin6502.toCode",
"when": "editorLangId == merlin6502"
}
]
}
},
"scripts": {
"reset-client": "run-script-os",
"reset-client:windows": "npx rimraf client\\out && mkdir client\\out",
"reset-client:default": "npx rimraf client/out && mkdir client/out",
"vscode:prepublish": "npm run esbuild-client -- --minify",
"esbuild-client": "npm run reset-client && esbuild ./client/src/extension.ts --bundle --outfile=client/out/extension.js --external:vscode --format=cjs --platform=node",
"build": "npm run esbuild-client -- --sourcemap",
"lint": "eslint . --ext .ts,.tsx",
"test-compile": "npm run reset-client && tsc -p ./client/",
"test": "node ./client/out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^20.16.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.23.1",
"eslint": "^9.9.0",
"glob": "^11.0.0",
"mocha": "^10.7.3",
"rimraf": "^6.0.1",
"run-script-os": "^1.1.6",
"typescript": "^5.5.4"
}
}