-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
232 lines (232 loc) · 6.14 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
{
"name": "nextbasic",
"displayName": "NextBASIC",
"description": "NextBASIC",
"publisher": "remysharp",
"version": "1.11.11",
"prettier": {
"singleQuote": true
},
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages",
"Formatters"
],
"activationEvents": [
"onLanguage:nextbasic"
],
"main": "./extension",
"contributes": {
"configuration": {
"title": "NextBASIC",
"properties": {
"nextbasic.cspect": {
"type": "string",
"default": "",
"description": "Points the path to cspect executable"
},
"nextbasic.cspectOptions": {
"type": "string",
"default": "-w5 -vsync -s28 -60 -tv -basickeys -zxnext -nextrom",
"description": "cspect arguments"
},
"nextbasic.nextImagePath": {
"type": "string",
"default": "",
"description": "Points the .img file for Spectrum Next used by cspect"
},
"nextbasic.copyLimit": {
"type": "number",
"default": 50,
"description": "The maximum number of files to copy to the Cpsect image before failing"
},
"nextbasic.hdfmonkeyPath": {
"type": "string",
"default": "hdfmonkey",
"description": "Points the full path to the hdfmonkey executable, defaults to searching your $PATH"
},
"nextbasic.monoPath": {
"type": "string",
"default": "mono",
"description": "Only used on non-Windows systems: points the full path of `mono`, otherwise tries to use your $PATH."
},
"nextbasic.commentWith": {
"type": "string",
"default": "REM",
"enum": [
"REM",
";"
],
"description": "Either use `REM` or `;` for toggling comments"
},
"nextbasic.validate": {
"type": "boolean",
"default": true,
"description": "Perform custom inline NextBASIC validation"
},
"nextbasic.newLineOnEnter": {
"type": "boolean",
"default": true,
"description": "On [enter] add new line number and format current line"
},
"nextbasic.stripComments": {
"type": "boolean",
"default": false,
"description": "Strip comments during export"
},
"nextbasic.parserVersion": {
"type": "string",
"default": "LATEST",
"enum": [
"LATEST",
"208",
"207"
],
"description": "Select the parser to use, mostly helps with validation compatibility against pre-2.08 zxos. If you're unsure, leave as LATEST"
}
}
},
"configurationDefaults": {
"[nextbasic]": {
"editor.formatOnType": true,
"files.eol": "\n"
}
},
"languages": [
{
"id": "nextbasic",
"aliases": [
"NextBASIC",
"BASIC",
"ZX BASIC"
],
"extensions": [
".bas",
".bas.txt"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "nextbasic",
"scopeName": "source.nextbasic",
"path": "./syntaxes/bas.tmLanguage.json"
}
],
"keybindings": [
{
"command": "nextbasic.new-line-with-number",
"key": "enter",
"when": "editorTextFocus && editorLangId == nextbasic"
},
{
"command": "nextbasic.commentLine",
"key": "cmd+/",
"when": "isMac && editorLangId == nextbasic"
},
{
"command": "nextbasic.commentLine",
"key": "ctrl+/",
"when": "!isMac && editorLangId == nextbasic"
},
{
"key": "shift+ctrl+e",
"mac": "shift+cmd+e",
"command": "nextbasic.export",
"when": "editorTextFocus && editorLangId == 'nextbasic'"
},
{
"key": "shift+ctrl+r",
"mac": "shift+cmd+r",
"command": "nextbasic.run",
"when": "editorTextFocus && editorLangId == 'nextbasic'"
}
],
"commands": [
{
"title": "NextBASIC: Run with cspect",
"command": "nextbasic.run"
},
{
"title": "NextBASIC: Error information",
"command": "nextbasic.error-picker"
},
{
"title": "NextBASIC: renumber",
"command": "nextbasic.renumber"
},
{
"title": "NextBASIC: validate code",
"command": "nextbasic.validate"
},
{
"title": "NextBASIC: export to binary .bas",
"command": "nextbasic.export"
},
{
"title": "NextBASIC: export to .tap",
"command": "nextbasic.tap-export"
},
{
"title": "NextBASIC: export to BANK",
"command": "nextbasic.bank-export"
},
{
"title": "NextBASIC: New line with number",
"command": "nextbasic.new-line-with-number"
},
{
"title": "NextBASIC: import binary .bas to text",
"command": "nextbasic.import-basic"
},
{
"title": "NextBASIC: Comment",
"command": "nextbasic.commentLine"
},
{
"title": "NextBASIC: txt2bas version",
"command": "nextbasic.txt2basVersion"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"pub": "vsce publish"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.5",
"@types/vscode": "^1.44.0",
"@vscode/vsce": "^2.27.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"directories": {
"test": "test"
},
"dependencies": {
"@remy/unpack": "^2.1.7",
"lodash.debounce": "^4.0.8",
"txt2bas": "^1.22.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/remy/vscode-nextbasic.git"
},
"keywords": [],
"author": "Remy Sharp",
"license": "MIT",
"icon": "icon.png",
"bugs": {
"url": "https://github.com/remy/vscode-nextbasic/issues"
},
"homepage": "https://github.com/remy/vscode-nextbasic#readme"
}