-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
388 lines (388 loc) · 16 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
377
378
379
380
381
382
383
384
385
386
387
388
{
"name": "continuum",
"displayName": "Clojure Code",
"license": "MIT",
"version": "1.2.0",
"debugMiddlewareVersion": "0.5.2",
"publisher": "jamesnorton",
"description": "Clojure debugger / nREPL / language support for Visual Studio Code.",
"preview": false,
"keywords": [
"clojure",
"debuggers",
"repl"
],
"author": {
"name": "James Norton"
},
"engines": {
"vscode": "^1.10.1"
},
"os": [
"darwin",
"linux",
"win32"
],
"galleryBanner": {
"color": "#63B131",
"theme": "dark"
},
"icon": "images/icon.png",
"categories": [
"Debuggers",
"Languages"
],
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/indiejames/vscode-clojure-debug.git"
},
"bugs": {
"url": "https://github.com/indiejames/vscode-clojure-debug/issues"
},
"dependencies": {
"@types/socket.io": "^1.4.28",
"bencode": "^0.10.0",
"chalk": "^1.1.1",
"core-js": "^2.4.1",
"find": "^0.2.7",
"fined": "^1.0.2",
"fs-extra": "^0.30.0",
"jsedn": "^0.3.5",
"lowlight": "^1.6.0",
"nrepl-client": "^0.3.0",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.1",
"strip-ansi": "3.0.1",
"strip-json-comments": "^2.0.1",
"tmp": "^0.2.1",
"vscode-debugadapter": "^1.42.1",
"vscode-debugprotocol": "^1.42.0",
"vscode-languageclient": "^6.1.3",
"vscode-languageserver": "^6.1.1"
},
"devDependencies": {
"typescript": "^4.0.5",
"vscode-test": "^1.1.37",
"mocha": "^8.2.0",
"@types/vscode": "^1.50.0",
"@types/node": "^14.14.5",
"@types/mocha": "^8.0.3"
},
"scripts": {
"compile": "node ./node_modules/typescript/bin/tsc -p ./src",
"test": "node ./node_modules/mocha/bin/mocha -u tdd ./out/tests/"
},
"activationEvents": [
"onCommand:clojure.startSession"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Clojure configuration",
"properties": {
"clojure.refreshOnLaunch": {
"type": "boolean",
"default": true,
"description": "Whether or not to issue a refresh command after launching the debugger."
},
"clojure.leinPath": {
"type": "string",
"default": null,
"description": "Absolute path to the lein command"
},
"clojure.toolsJar": {
"type": "string",
"default": null,
"description": "Absolute path to the tools.jar file (JAVA JDI jar file)"
},
"clojure.replPort": {
"type": "number",
"default": 5555,
"description": "Default port on which debugged REPLs will be launched"
},
"clojure.debugReplPort": {
"type": "number",
"default": 5556,
"description": "Default port on which the debugger REPL will be launched"
},
"clojure.debugPort": {
"type": "number",
"default": 8030,
"description": "Default port on which the Java Debug Interface code will listen for attaching debuggers"
},
"clojure.sideChannelPort": {
"type": "number",
"default": 3030,
"description": "Default port used for internal commnuication between processes making up the extension."
},
"clojure.refreshNamespacesBeforeRunnningAllTests": {
"type": "boolean",
"default": true,
"description": "Whether or not to issue a refresh command before running all the tests in the workspace."
},
"clojure.refreshNamespacesBeforeRunnningTestNamespace": {
"type": "boolean",
"default": true,
"description": "Whether or not to issue a refresh command before running all the tests in a namespace."
},
"clojure.refreshNamespacesBeforeRunnningTest": {
"type": "boolean",
"default": false,
"description": "Whether or not to issue a refresh command before running a single test."
},
"clojure.highlightSyntaxInRepl": {
"type": "boolean",
"default": true,
"description": "Whether or not to use syntax highlighting in the REPL output."
}
}
},
"configurationDefaults": {
"[clojure]": {
"editor.wordSeparators": " ()\"':,;~@#$%^&{}[]`"
}
},
"languages": [
{
"id": "clojure",
"extensions": [
".clj"
],
"aliases": [
"Clojure"
]
}
],
"commands": [
{
"command": "clojure.eval",
"title": "Clojure: Evaluate selected text",
"description": "Evaluate the selected text in the file's namespace."
},
{
"command": "clojure.expand_selection",
"title": "Clojure: Expand Selection",
"description": "Expand selection to containing brackets/parentheses."
},
{
"command": "clojure.load-file",
"title": "Clojure: Load File",
"description": "Load the currently open Clojure source file."
},
{
"command": "clojure.refresh",
"title": "Clojure: Refresh Code",
"description": "Refresh changed code without restarting the REPL."
},
{
"command": "clojure.superRefresh",
"title": "Clojure: Super Refresh Code",
"description": "Refresh all code without restarting the REPL."
},
{
"command": "clojure.run-all-tests",
"title": "Clojure: Run All Tests",
"description": "Run all the tests in the project after refreshing the code."
},
{
"command": "clojure.run-test-file",
"title": "Clojure: Run Tests in Current Namespace",
"description": "Run the tests in the current namespace, optionally refreshing code first."
},
{
"command": "clojure.run-test",
"title": "Clojure: Run Test Under Cursor",
"description": "Run the test under the cursor, optionally refreshing code first."
},
{
"command": "clojure.fix-namespace-declaration",
"title": "Clojure: Fix Namespace Declaration",
"description": "Update the namespace declaration and fix requires/imports."
}
],
"keybindings": [
{
"command": "clojure.eval",
"key": "ctrl+alt+e",
"mac": "cmd+alt+e",
"when": "editorTextFocus"
},
{
"command": "clojure.expand_selection",
"key": "ctrl+shift+m",
"when": "editorTextFocus"
}
],
"debuggers": [
{
"type": "clojure",
"label": "Clojure Debug",
"enableBreakpointsFor": {
"languageIds": [
"clojure"
]
},
"program": "./out/clojureDebug.js",
"runtime": "node",
"startSessionCommand": "clojure.startSession",
"configurationAttributes": {
"attach": {
"required": [],
"properties": {
"toolsJar": {
"type": "string",
"description": "Path to the tools.jar in your Java installation.",
"default": "$tools_jar_path"
},
"cwd": {
"type": "string",
"description": "Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.",
"default": "${workspaceRoot}"
},
"leinPath": {
"type": "string",
"description": "Path the the lein executable."
},
"replHost": {
"type": "string",
"description": "Host on which the debugged REPL is running."
},
"replPort": {
"type": "number",
"description": "Port on which the debugged nREPL is listening."
},
"debugReplPort": {
"type": "number",
"description": "Port on which the client/debugger nREPL should listen."
},
"debugPort": {
"type": "number",
"description": "JDI port on which the debugger should connect to the process to be debugged."
},
"debug": {
"type": "boolean",
"description": "Whether or not to start the debugger.",
"default": true
},
"sideChannelPort": {
"type": "number",
"description": "Port on which the debugger should talk to the extension."
},
"parallelTestDirs": {
"type": "array",
"description": "Directories with tests that can be run in parallel.",
"default": [
"test"
]
},
"sequentialTestDirs": {
"type": "array",
"description": "Directories containing tests that should be run sequentially.",
"default": []
}
}
},
"launch": {
"required": [
"commandLine"
],
"properties": {
"toolsJar": {
"type": "string",
"description": "Path to the tools.jar in your Java installation."
},
"commandLine": {
"type": "array",
"description": "Command to run to launch the debugged program."
},
"console": {
"enum": [
"internalConsole",
"integratedTerminal",
"externalTerminal"
],
"description": "Console to to use for launched programs. Defaults to internal debug console.",
"default": "internalConsole"
},
"leinPath": {
"type": "string",
"description": "Path the the lein executable."
},
"replPort": {
"type": "number",
"description": "Port on which the debugged nREPL should listen.",
"default": 5555
},
"debugReplPort": {
"type": "number",
"description": "Port on which the client/debugger nREPL should listen.",
"default": 5556
},
"debugPort": {
"type": "number",
"description": "JDI port on which the debugger should connect to the process to be debugged.",
"default": 8030
},
"debug": {
"type": "boolean",
"description": "Whether or not to start the debugger.",
"default": true
},
"sideChannelPort": {
"type": "number",
"description": "Port on which the debugger should talk to the extension.",
"default": 3030
},
"env": {
"type": "object",
"description": "Environment variables passed to the program.",
"default": {}
},
"cwd": {
"type": "string",
"description": "Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.",
"default": "${workspaceRoot}"
},
"refreshOnLaunch": {
"type": "boolean",
"description": "Automatically loads all namespaces on launch.",
"default": true
},
"parallelTestDirs": {
"type": "array",
"description": "Directories with tests that can be run in parallel.",
"default": [
"test"
]
},
"sequentialTestDirs": {
"type": "array",
"description": "Directories containing tests that should be run sequentially.",
"default": []
}
}
}
},
"initialConfigurations": [
{
"commandLine": [
"$lein_path",
"with-profile",
"+debug-repl",
"repl",
":start",
":port",
"5555"
],
"name": "Clojure-Debug",
"type": "clojure",
"request": "launch",
"env": {}
}
]
}
]
}
}