]> git.lizzy.rs Git - rust.git/blobdiff - editors/code/package.json
feat: Make private editable completions configurable, disable by default
[rust.git] / editors / code / package.json
index 2c7d6c3773ebf4b2abe227551199a9a063916fa7..1252752a9ae0192bd5e27774194995bb882f2cf2 100644 (file)
         "test": "node ./out/tests/runTests.js"
     },
     "dependencies": {
-        "vscode-languageclient": "8.0.0-next.2",
-        "d3": "^7.2.0",
+        "vscode-languageclient": "8.0.0-next.8",
+        "d3": "^7.3.0",
         "d3-graphviz": "^4.0.0"
     },
     "devDependencies": {
         "@types/node": "~14.17.5",
         "@types/vscode": "~1.63.0",
-        "@typescript-eslint/eslint-plugin": "^5.5.0",
-        "@typescript-eslint/parser": "^5.5.0",
-        "@vscode/test-electron": "^1.6.2",
-        "esbuild": "^0.14.1",
-        "eslint": "^8.3.0",
+        "@typescript-eslint/eslint-plugin": "^5.10.0",
+        "@typescript-eslint/parser": "^5.10.0",
+        "@vscode/test-electron": "^2.1.1",
+        "esbuild": "^0.14.12",
+        "eslint": "^8.7.0",
         "tslib": "^2.3.0",
-        "typescript": "^4.5.2",
+        "typescript": "^4.5.5",
         "typescript-formatter": "^7.2.2",
-        "vsce": "^2.5.1"
+        "vsce": "^2.6.7"
     },
     "activationEvents": [
         "onLanguage:rust",
                     ],
                     "scope": "machine-overridable",
                     "default": null,
-                    "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default). If this is set, then `#rust-analyzer.updates.channel#` setting is not used"
+                    "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default)."
                 },
                 "rust-analyzer.server.extraEnv": {
                     "type": [
                     "default": true,
                     "type": "boolean"
                 },
+                "rust-analyzer.completion.privateEditable.enable": {
+                    "markdownDescription": "Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position.",
+                    "default": false,
+                    "type": "boolean"
+                },
                 "rust-analyzer.diagnostics.enable": {
                     "markdownDescription": "Whether to show native rust-analyzer diagnostics.",
                     "default": true,
                     "default": true,
                     "type": "boolean"
                 },
+                "rust-analyzer.primeCaches.numThreads": {
+                    "markdownDescription": "How many worker threads to to handle priming caches. The default `0` means to pick automatically.",
+                    "default": 0,
+                    "type": "number",
+                    "minimum": 0,
+                    "maximum": 255
+                },
                 "rust-analyzer.procMacro.enable": {
                     "markdownDescription": "Enable support for procedural macros, implies `#rust-analyzer.cargo.runBuildScripts#`.",
                     "default": true,