-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
310 lines (310 loc) · 10.8 KB
/
package.json
File metadata and controls
310 lines (310 loc) · 10.8 KB
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
{
"name": "vscode-better-netlinx",
"displayName": "vscode-better-netlinx",
"description": "Better NetLinx support for Visual Studio Code",
"version": "0.0.1",
"publisher": "Norgate-AV",
"icon": "assets/img/NetLinx1.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Norgate-AV/vscode-better-netlinx.git"
},
"engines": {
"vscode": "^1.99.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"main": "./out/extension.js",
"activationEvents": [
"workspaceContains:**/*.axs",
"workspaceContains:**/*.axi",
"onStartupFinished"
],
"contributes": {
"languages": [
{
"id": "netlinx",
"aliases": [
"NetLinx",
"netlinx"
],
"extensions": [
".axs",
".axi",
".axb",
".lib"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "netlinx",
"scopeName": "source.netlinx",
"path": "./syntaxes/netlinx.tmLanguage.json"
}
],
"snippets": [
{
"language": "netlinx",
"path": "./snippets/snippets.json"
}
],
"commands": [
{
"command": "netlinx.reloadSyntax",
"title": "NetLinx: Reload Syntax"
},
{
"command": "netlinx.inspectTokens",
"title": "NetLinx: Inspect Token Scopes"
},
{
"command": "netlinx.exportTokens",
"title": "NetLinx: Interactive Token Analyzer"
},
{
"command": "netlinx.enableThemeEnhancements",
"title": "NetLinx: Enable Theme Enhancements"
},
{
"command": "netlinx.disableThemeEnhancements",
"title": "NetLinx: Disable Theme Enhancements"
},
{
"command": "netlinx.help",
"title": "NetLinx: Open Keywords Help Reference"
},
{
"command": "netlinx.transfer",
"title": "NetLinx: Open File Transfer Utility"
},
{
"command": "netlinx.diagnostics",
"title": "NetLinx: Open Diagnostics Utility"
},
{
"command": "netlinx.openLogs",
"title": "NetLinx: Open Server Logs"
},
{
"command": "netlinx.showOutputChannel",
"title": "NetLinx: Show Server Output"
}
],
"keybindings": [
{
"command": "netlinx.inspectTokens",
"key": "ctrl+shift+alt+i",
"mac": "cmd+shift+alt+i",
"when": "editorFocus && editorLangId == netlinx"
},
{
"command": "netlinx.transfer",
"key": "ctrl+shift+f4",
"mac": "cmd+shift+f4",
"when": "editorFocus && editorLangId == netlinx"
},
{
"command": "netlinx.diagnostics",
"key": "ctrl+shift+f3",
"mac": "cmd+shift+f3",
"when": "editorFocus && editorLangId == netlinx"
},
{
"command": "netlinx.help",
"key": "ctrl+shift+f1",
"mac": "cmd+shift+f1",
"when": "editorFocus && editorLangId == netlinx"
}
],
"menus": {
"editor/context": [
{
"command": "netlinx.help",
"group": "navigation",
"when": "editorFocus && editorLangId == netlinx"
},
{
"command": "netlinx.transfer",
"group": "navigation",
"when": "editorFocus && editorLangId == netlinx"
},
{
"command": "netlinx.diagnostics",
"group": "navigation",
"when": "editorFocus && editorLangId == netlinx"
}
]
},
"configuration": {
"title": "NetLinx",
"properties": {
"netlinx.enhanceThemeColors": {
"type": "boolean",
"default": false,
"description": "Apply custom token colors to better highlight NetLinx sections"
},
"netlinx.languageServer.enabled": {
"type": "boolean",
"default": true,
"description": "Enable the NetLinx language server for advanced language features"
},
"netlinx.languageServer.path": {
"type": "string",
"default": "",
"description": "Path to the NetLinx language server executable. If empty, the extension will try to find it in PATH."
},
"netlinx.languageServer.args": {
"type": "array",
"default": [],
"description": "Additional command-line arguments for the language server",
"items": {
"type": "string"
}
},
"netlinx.parser.autoUpdate": {
"type": "boolean",
"default": false,
"description": "Automatically update the Tree-sitter parser when new versions are available"
},
"netlinx.parser.updateInterval": {
"type": "number",
"default": 1,
"description": "Number of days between checking for parser updates",
"minimum": 1,
"maximum": 90
},
"netlinx.compiler.location": {
"type": "string",
"default": "C:/Program Files (x86)/Common Files/AMXShare/COM/NLRC.exe",
"description": "Location of the Netlinx compiler"
},
"netlinx.transfer.location": {
"type": "string",
"default": "C:/Program Files (x86)/AMX Control Disc/FileTransfer 2/FileTransfer2.exe",
"description": "Location of the Netlinx File Transfer utility"
},
"netlinx.diagnostics.location": {
"type": "string",
"default": "C:/Program Files (x86)/AMX Control Disc/NetLinx Diagnostics/NlDiagsPgm.exe",
"description": "Location of the Netlinx Diagnostics utility"
},
"netlinx.help.location": {
"type": "string",
"default": "C:/Program Files (x86)/AMX Control Disc/NetLinx Studio 4/Netlinx-Keywords.chm",
"description": "Location of the Netlinx Help reference"
},
"netlinx.terminal.location": {
"type": "string",
"default": "C:/WINDOWS/System32/cmd.exe",
"description": "Location of the default windows cmd.exe"
},
"netlinx.includes.location": {
"type": "array",
"default": [
"C:/Program Files (x86)/Common Files/AMXShare/AXIs"
],
"description": "NetLinx include path locations",
"items": {
"type": "string"
}
},
"netlinx.libraries.location": {
"type": "array",
"default": [
"C:/Program Files (x86)/Common Files/AMXShare/SYCs"
],
"description": "NetLinx library path locations",
"items": {
"type": "string"
}
},
"netlinx.modules.location": {
"type": "array",
"default": [
"C:/Program Files (x86)/Common Files/AMXShare/Duet/bundle",
"C:/Program Files (x86)/Common Files/AMXShare/Duet/lib",
"C:/Program Files (x86)/Common Files/AMXShare/Duet/module"
],
"description": "NetLinx module path locations",
"items": {
"type": "string"
}
}
}
},
"taskDefinitions": [
{
"type": "netlinx-build",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"description": "The file to build"
}
}
}
]
},
"config": {
"parser": {
"repository": "Norgate-AV/tree-sitter-netlinx"
}
},
"scripts": {
"commit": "git-cz",
"vscode:prepublish": "pnpm build:prod",
"build": "tsup",
"build:prod": "NODE_ENV=production tsup",
"dev": "tsup --watch",
"watch": "tsup --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"package": "vsce package",
"install": "husky"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/js": "^9.24.0",
"@types/node": "^22.14.0",
"@types/vscode": "^1.99.0",
"@vitest/coverage-v8": "^3.1.1",
"@vitest/ui": "^3.1.1",
"@vscode/vsce": "^3.3.2",
"all-contributors-cli": "^6.26.1",
"commitizen": "^4.3.1",
"doctoc": "^2.2.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"husky": "^9.1.7",
"lint-staged": "^15.5.1",
"ovsx": "^0.10.1",
"prettier": "^3.5.3",
"terser": "^5.39.0",
"tsup": "^8.4.0",
"type-fest": "^4.39.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.1",
"vitest": "^3.1.1"
},
"dependencies": {
"chokidar": "^4.0.3",
"execa": "^9.5.2",
"vscode-languageclient": "^9.0.1"
},
"extensionDependencies": [],
"extensionPack": [],
"vsce": {
"dependencies": false
}
}