This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
583 lines (583 loc) · 16.7 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
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
{
"name": "vscode-rust",
"displayName": "Rust",
"description": "Rust language integration for VSCode",
"version": "0.4.2",
"publisher": "kalitaalexey",
"license": "MIT",
"icon": "images/icon.png",
"homepage": "https://github.com/KalitaAlexey/vscode-rust",
"repository": {
"type": "git",
"url": "https://github.com/KalitaAlexey/vscode-rust"
},
"bugs": {
"url": "https://github.com/KalitaAlexey/vscode-rust/issues",
"email": "kalita.alexey@outlook.com"
},
"engines": {
"vscode": "^1.12.0"
},
"categories": [
"Languages",
"Linters",
"Snippets"
],
"activationEvents": [
"onLanguage:rust",
"onCommand:rust.cargo.new.bin",
"onCommand:rust.cargo.new.lib",
"onCommand:rust.cargo.new.playground",
"onCommand:rust.cargo.build.default",
"onCommand:rust.cargo.build.custom",
"onCommand:rust.cargo.clippy.default",
"onCommand:rust.cargo.clippy.custom",
"onCommand:rust.cargo.doc.default",
"onCommand:rust.cargo.doc.custom",
"onCommand:rust.cargo.run.default",
"onCommand:rust.cargo.run.custom",
"onCommand:rust.cargo.test.default",
"onCommand:rust.cargo.test.custom",
"onCommand:rust.cargo.bench",
"onCommand:rust.cargo.update",
"onCommand:rust.cargo.clean",
"onCommand:rust.cargo.check.default",
"onCommand:rust.cargo.check.custom",
"onCommand:rust.cargo.terminate"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "rust",
"aliases": [
"Rust"
],
"extensions": [
".rs"
]
}
],
"snippets": [
{
"language": "rust",
"path": "./snippets/rust.json"
}
],
"commands": [
{
"command": "rust.cargo.new.bin",
"title": "Cargo: Create new executable project",
"description": "Creating a new executable project"
},
{
"command": "rust.cargo.new.lib",
"title": "Cargo: Create new library project",
"description": "Creating a new library project"
},
{
"command": "rust.cargo.new.playground",
"title": "Cargo: Create playground",
"description": "Creating a project in a temporary directory"
},
{
"command": "rust.cargo.build.default",
"title": "Cargo: Build",
"description": "Compile the current project"
},
{
"command": "rust.cargo.build.custom",
"title": "Cargo: Build using custom configuration",
"description": "Compile the current project using custom configuration"
},
{
"command": "rust.cargo.run.default",
"title": "Cargo: Run",
"description": "Build and execute src/main.rs"
},
{
"command": "rust.cargo.run.custom",
"title": "Cargo: Run using custom configuration",
"description": "Build and execute src/main.rs using custom configuration"
},
{
"command": "rust.cargo.doc.default",
"title": "Cargo: Doc",
"description": "Build this project's and its dependencies' documentation"
},
{
"command": "rust.cargo.doc.custom",
"title": "Cargo: Doc using custom configuration",
"description": "Build this project's and its dependencies' documentation using custom configuration"
},
{
"command": "rust.cargo.test.default",
"title": "Cargo: Test",
"description": "Run the tests"
},
{
"command": "rust.cargo.test.custom",
"title": "Cargo: Test using custom configuration",
"description": "Run the tests using custom configuration"
},
{
"command": "rust.cargo.bench",
"title": "Cargo: Bench",
"description": "Run the benchmarks"
},
{
"command": "rust.cargo.update",
"title": "Cargo: Update",
"description": "Update dependencies listed in Cargo.lock"
},
{
"command": "rust.cargo.clean",
"title": "Cargo: Clean",
"description": "Remove the target directory"
},
{
"command": "rust.cargo.check.default",
"title": "Cargo: Check",
"description": "Check the project for warnings and errors"
},
{
"command": "rust.cargo.check.custom",
"title": "Cargo: Check using custom configuration",
"description": "Check the main library of the project for warnings and errors using custom configuration"
},
{
"command": "rust.cargo.clippy.default",
"title": "Cargo: Clippy",
"description": "Check project with clippy."
},
{
"command": "rust.cargo.clippy.custom",
"title": "Cargo: Clippy using custom configuration",
"description": "Check project with clippy using custom configuration"
},
{
"command": "rust.cargo.terminate",
"title": "Cargo: Terminate Running Task",
"description": "Terminate currently running cargo task"
}
],
"configuration": {
"title": "Rust extension configuration",
"type": "object",
"properties": {
"rust.mode": {
"type": [
"string",
"null"
],
"default": null,
"description": "The mode in which the extension will function",
"enum": [
"legacy",
"rls",
null
]
},
"rust.racerPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies path to Racer binary if it's not in PATH"
},
"rust.rustfmtPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies path to Rustfmt binary if it's not in PATH"
},
"rust.rustsymPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies path to Rustsym binary if it's not in PATH"
},
"rust.rustLangSrcPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies path to /src directory of local copy of Rust sources"
},
"rust.showOutput": {
"type": [
"boolean"
],
"default": true,
"description": "Automatically show output panel when starting any cargo task"
},
"rust.cargoPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies path to Cargo binary if it's not in PATH"
},
"rust.cargoHomePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies path to home directory of Cargo. Mostly needed for working with custom installations of Rust via rustup or multirust."
},
"rust.cargoEnv": {
"type": [
"object",
"null"
],
"default": null,
"description": "Specifies custom variables to set when running cargo. Useful for crates which use env vars in their build.rs (like openssl-sys)."
},
"rust.cargoCwd": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the path of the directory where a cargo command would be executed"
},
"rust.executeCargoCommandInTerminal": {
"type": "boolean",
"default": false,
"description": "Indicating whether any cargo command should be executed in an integrated terminal. Used only in not RLS mode"
},
"rust.actionOnStartingCommandIfThereIsRunningCommand": {
"default": "Stop running command",
"type": "string",
"enum": [
"Stop running command",
"Ignore new command",
"Show dialog to let me decide"
]
},
"rust.actionOnSave": {
"type": "string",
"default": null,
"enum": [
"build",
"check",
"clippy",
"doc",
"run",
"test",
null
]
},
"rust.buildArgs": {
"type": "array",
"default": [],
"description": "Arguments which is passed to cargo build"
},
"rust.checkArgs": {
"type": "array",
"default": [],
"description": "Arguments which is passed to cargo check"
},
"rust.clippyArgs": {
"type": "array",
"default": [],
"description": "Arguments which is passed to cargo clippy"
},
"rust.docArgs": {
"type": "array",
"default": [],
"description": "Arguments which is passed to cargo doc"
},
"rust.runArgs": {
"type": "array",
"default": [],
"description": "Arguments which is passed to cargo run"
},
"rust.testArgs": {
"type": "array",
"default": [],
"description": "Arguments which is passed to cargo test"
},
"rust.customBuildConfigurations": {
"default": [
{
"title": "Release",
"args": [
"--release"
]
}
],
"description": "Custom configurations for cargo build. Array of objects with `title` (string) and `args` (array of strings) which will be passed to `cargo build`.",
"items": {
"properties": {
"title": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"args"
]
},
"type": "array"
},
"rust.customCheckConfigurations": {
"default": [
{
"title": "Release",
"args": [
"--release"
]
}
],
"description": "Custom configurations for cargo check. Array of objects with `title` (string) and `args` (array of strings) which will be passed to `cargo check`.",
"items": {
"properties": {
"title": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"args"
]
},
"type": "array"
},
"rust.customClippyConfigurations": {
"default": [],
"description": "Custom configurations for cargo clippy. Array of objects with `title` (string) and `args` (array of strings) which will be passed to `cargo clippy`.",
"items": {
"properties": {
"title": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"args"
]
},
"type": "array"
},
"rust.customDocConfigurations": {
"default": [],
"description": "Custom configurations for cargo doc. Array of objects with `title` (string) and `args` (array of strings) which will be passed to `cargo doc`.",
"items": {
"properties": {
"title": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"args"
]
},
"type": "array"
},
"rust.customRunConfigurations": {
"default": [
{
"title": "Release",
"args": [
"--release"
]
}
],
"description": "Custom configurations for cargo run. Array of objects with `title` (string) and `args` (array of strings) which will be passed to `cargo run`.",
"items": {
"properties": {
"title": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"args"
]
},
"type": "array"
},
"rust.customTestConfigurations": {
"default": [
{
"title": "Release",
"args": [
"--release"
]
}
],
"description": "Custom configurations for cargo test. Array of objects with `title` (string) and `args` (array of strings) which will be passed to `cargo test`.",
"items": {
"properties": {
"title": {
"type": "string"
},
"args": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"title",
"args"
]
},
"type": "array"
},
"rust.rustup": {
"default": null,
"description": "rustup configuration",
"properties": {
"toolchain": {
"default": null,
"description": "The toolchain to use for installing components (rust-src), except RLS",
"type": [
"string",
"null"
]
},
"nightlyToolchain": {
"default": null,
"description": "The nightly toolchain to use for installing RLS and related components and running RLS",
"type": [
"string",
"null"
]
}
}
},
"rust.rls.executable": {
"default": null,
"description": "An executable (absolute path or name if it's available through PATH) to run as a language server",
"type": [
"null",
"string"
]
},
"rust.rls.args": {
"default": null,
"description": "Arguments to run the language server with",
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"rust.rls.env": {
"default": null,
"description": "An environment to run the language server in",
"type": [
"object",
"null"
]
},
"rust.rls.revealOutputChannelOn": {
"default": "error",
"description": "Specifies on what kind of message received from the language server the output channel is revealed",
"enum": [
"info",
"warn",
"error",
"never"
],
"type": "string"
},
"rust.rls.useRustfmt": {
"default": null,
"description": "Specified whether rustfmt should be used for formatting when the RLS mode is active",
"type": [
"boolean",
"null"
]
},
"rust.shell.kind.windows": {
"default": "null",
"enum": [
"cmd",
"powershell",
"shell",
"wsl",
"null"
],
"type": [
"string",
"null"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p .",
"compile": "tsc -watch -p .",
"gulp": "node ./node_modules/gulp/bin/gulp.js",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"gulp": "3.9.1",
"gulp-shell": "0.5.2",
"gulp-tslint": "7.1.0",
"mocha": "3.2.0",
"tslint": "5.1.0",
"typescript": "2.2.1",
"vscode": "1.1.0",
"@types/node": "7.0.11",
"@types/mocha": "2.2.40",
"@types/open": "0.0.29",
"@types/which": "1.0.28"
},
"dependencies": {
"expand-tilde": "2.0.2",
"tmp": "0.0.31",
"open": "0.0.5",
"tree-kill": "1.1.0",
"find-up": "2.1.0",
"elegant-spinner": "1.0.1",
"vscode-languageclient": "3.2.0",
"which": "1.2.14"
}
}