aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorSeivan Heidari <[email protected]>2019-12-23 14:35:31 +0000
committerSeivan Heidari <[email protected]>2019-12-23 14:35:31 +0000
commitb21d9337d9200e2cfdc90b386591c72c302dc03e (patch)
treef81f5c08f821115cee26fa4d3ceaae88c7807fd5 /editors/code/package.json
parent18a0937585b836ec5ed054b9ae48e0156ab6d9ef (diff)
parentce07a2daa9e53aa86a769f8641b14c2878444fbc (diff)
Merge branch 'master' into feature/themes
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json141
1 files changed, 125 insertions, 16 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index e21dfa174..8e7046418 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -13,7 +13,7 @@
13 "Other" 13 "Other"
14 ], 14 ],
15 "engines": { 15 "engines": {
16 "vscode": "^1.37.0" 16 "vscode": "^1.41.0"
17 }, 17 },
18 "scripts": { 18 "scripts": {
19 "vscode:prepublish": "npm run compile", 19 "vscode:prepublish": "npm run compile",
@@ -27,33 +27,37 @@
27 "travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --write && git diff --exit-code" 27 "travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --write && git diff --exit-code"
28 }, 28 },
29 "prettier": { 29 "prettier": {
30 "singleQuote": true,
30 "tabWidth": 4, 31 "tabWidth": 4,
31 "singleQuote": true 32 "trailingComma": "all"
32 }, 33 },
33 "dependencies": { 34 "dependencies": {
34 "seedrandom": "^3.0.1", 35 "lookpath": "^1.0.4",
35 "vscode-languageclient": "^5.3.0-next.4", 36 "seedrandom": "^3.0.5",
37 "vscode-languageclient": "^6.0.0-next.9",
36 "jsonc-parser": "^2.1.0" 38 "jsonc-parser": "^2.1.0"
37 }, 39 },
38 "devDependencies": { 40 "devDependencies": {
39 "@types/glob": "^7.1.1", 41 "@types/glob": "^7.1.1",
40 "@types/mocha": "^5.2.7", 42 "@types/mocha": "^5.2.7",
41 "@types/node": "^10.14.13", 43 "@types/node": "^12.12.21",
42 "@types/seedrandom": "^2.4.28", 44 "@types/seedrandom": "^2.4.28",
43 "@types/vscode": "^1.37.0", 45 "@types/vscode": "^1.41.0",
44 "glob": "^7.1.4", 46 "glob": "^7.1.6",
45 "mocha": "^6.2.0", 47 "mocha": "^6.2.2",
46 "prettier": "^1.18.2", 48 "prettier": "^1.19.1",
47 "rollup": "^1.23.1", 49 "rollup": "^1.27.13",
48 "rollup-plugin-commonjs": "^10.1.0", 50 "rollup-plugin-commonjs": "^10.1.0",
49 "rollup-plugin-node-resolve": "^5.2.0", 51 "rollup-plugin-node-resolve": "^5.2.0",
52 "rollup-plugin-sourcemaps": "^0.4.2",
50 "rollup-plugin-typescript": "^1.0.1", 53 "rollup-plugin-typescript": "^1.0.1",
51 "shx": "^0.3.1", 54 "shx": "^0.3.1",
52 "tslint": "^5.18.0", 55 "tslint": "^5.20.1",
53 "tslint-config-prettier": "^1.18.0", 56 "tslint-config-prettier": "^1.18.0",
54 "typescript": "^3.5.3", 57 "tslint-plugin-prettier": "^2.0.1",
55 "vsce": "^1.67.0", 58 "typescript": "^3.7.3",
56 "vscode-test": "^1.2.0" 59 "vsce": "^1.71.0",
60 "vscode-test": "^1.3.0"
57 }, 61 },
58 "activationEvents": [ 62 "activationEvents": [
59 "onLanguage:rust", 63 "onLanguage:rust",
@@ -279,7 +283,7 @@
279 }, 283 },
280 "rust-analyzer.useClientWatching": { 284 "rust-analyzer.useClientWatching": {
281 "type": "boolean", 285 "type": "boolean",
282 "default": false, 286 "default": true,
283 "description": "client provided file watching instead of notify watching." 287 "description": "client provided file watching instead of notify watching."
284 }, 288 },
285 "rust-analyzer.cargo-watch.arguments": { 289 "rust-analyzer.cargo-watch.arguments": {
@@ -297,6 +301,11 @@
297 "description": "A list of patterns for cargo-watch to ignore (will be passed as `--ignore`)", 301 "description": "A list of patterns for cargo-watch to ignore (will be passed as `--ignore`)",
298 "default": [] 302 "default": []
299 }, 303 },
304 "rust-analyzer.cargo-watch.allTargets": {
305 "type": "boolean",
306 "description": "Check all targets and tests (will be passed as `--all-targets`)",
307 "default": true
308 },
300 "rust-analyzer.trace.server": { 309 "rust-analyzer.trace.server": {
301 "type": "string", 310 "type": "string",
302 "scope": "window", 311 "scope": "window",
@@ -338,6 +347,21 @@
338 "type": "number", 347 "type": "number",
339 "default": 20, 348 "default": 20,
340 "description": "Maximum length for inlay hints" 349 "description": "Maximum length for inlay hints"
350 },
351 "rust-analyzer.cargoFeatures.noDefaultFeatures": {
352 "type": "boolean",
353 "default": false,
354 "description": "Do not activate the `default` feature"
355 },
356 "rust-analyzer.cargoFeatures.allFeatures": {
357 "type": "boolean",
358 "default": true,
359 "description": "Activate all available features"
360 },
361 "rust-analyzer.cargoFeatures.features": {
362 "type": "array",
363 "default": [],
364 "description": "List of features to activate"
341 } 365 }
342 } 366 }
343 }, 367 },
@@ -358,6 +382,20 @@
358 "column": 3 382 "column": 3
359 } 383 }
360 ] 384 ]
385 },
386 {
387 "name": "rustc-json",
388 "patterns": [
389 {
390 "regexp": "^.*\"message\":{\"message\":\"([^\"]*).*?\"file_name\":\"([^\"]+).*?\"line_start\":(\\d+).*?\"line_end\":(\\d+).*?\"column_start\":(\\d+).*?\"column_end\":(\\d+).*}$",
391 "message": 1,
392 "file": 2,
393 "line": 3,
394 "endLine": 4,
395 "column": 5,
396 "endColumn": 6
397 }
398 ]
361 } 399 }
362 ], 400 ],
363 "problemMatchers": [ 401 "problemMatchers": [
@@ -370,6 +408,14 @@
370 "pattern": "$rustc" 408 "pattern": "$rustc"
371 }, 409 },
372 { 410 {
411 "name": "rustc-json",
412 "fileLocation": [
413 "relative",
414 "${workspaceRoot}"
415 ],
416 "pattern": "$rustc-json"
417 },
418 {
373 "name": "rustc-watch", 419 "name": "rustc-watch",
374 "fileLocation": [ 420 "fileLocation": [
375 "relative", 421 "relative",
@@ -483,6 +529,33 @@
483 } 529 }
484 }, 530 },
485 { 531 {
532 "id": "ralsp.literal.numeric",
533 "description": "Color for numeric literals",
534 "defaults": {
535 "dark": "#BECEA8",
536 "light": "#09885A",
537 "highContrast": "#B5CEA8"
538 }
539 },
540 {
541 "id": "ralsp.literal.char",
542 "description": "Color for character literals",
543 "defaults": {
544 "dark": "#BECEA8",
545 "light": "#09885A",
546 "highContrast": "#B5CEA8"
547 }
548 },
549 {
550 "id": "ralsp.literal.byte",
551 "description": "Color for byte literals",
552 "defaults": {
553 "dark": "#BECEA8",
554 "light": "#09885A",
555 "highContrast": "#B5CEA8"
556 }
557 },
558 {
486 "id": "ralsp.macro", 559 "id": "ralsp.macro",
487 "description": "Color for macros", 560 "description": "Color for macros",
488 "defaults": { 561 "defaults": {
@@ -502,7 +575,43 @@
502 }, 575 },
503 { 576 {
504 "id": "ralsp.type", 577 "id": "ralsp.type",
505 "description": "Color for types", 578 "description": "Color for other types (traits, aliases..)",
579 "defaults": {
580 "dark": "#4EC9B0",
581 "light": "#267F99",
582 "highContrast": "#4EC9B0"
583 }
584 },
585 {
586 "id": "ralsp.type.builtin",
587 "description": "Color for built-in types (&str, bool, u16, u32)",
588 "defaults": {
589 "dark": "#4EC9B0",
590 "light": "#267F99",
591 "highContrast": "#4EC9B0"
592 }
593 },
594 {
595 "id": "ralsp.type.lifetime",
596 "description": "Color for lifetimes parameters",
597 "defaults": {
598 "dark": "#4EC9B0",
599 "light": "#267F99",
600 "highContrast": "#4EC9B0"
601 }
602 },
603 {
604 "id": "ralsp.type.self",
605 "description": "Color for `Self` param type",
606 "defaults": {
607 "dark": "#4EC9B0",
608 "light": "#267F99",
609 "highContrast": "#4EC9B0"
610 }
611 },
612 {
613 "id": "ralsp.type.param",
614 "description": "Color for type parameters",
506 "defaults": { 615 "defaults": {
507 "dark": "#4EC9B0", 616 "dark": "#4EC9B0",
508 "light": "#267F99", 617 "light": "#267F99",