about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2021-12-23 08:32:58 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2021-12-23 09:23:56 +0200
commit650ec14e4f083316b6341dd3a52f734ec449d10a (patch)
treec85e35ad8af787799dfe87de0c8b3144d6c3edf0
parentc68dbc16f8a68b479631bfa1c148c509caf47978 (diff)
downloadrust-650ec14e4f083316b6341dd3a52f734ec449d10a.tar.gz
rust-650ec14e4f083316b6341dd3a52f734ec449d10a.zip
Remove channel and ask before download prefs
-rw-r--r--editors/code/package.json18
-rw-r--r--editors/code/src/config.ts3
2 files changed, 0 insertions, 21 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index fc78b2830ac..550b28e1cdb 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -303,24 +303,6 @@
                     "default": true,
                     "description": "Whether inlay hints font size should be smaller than editor's font size."
                 },
-                "rust-analyzer.updates.channel": {
-                    "type": "string",
-                    "enum": [
-                        "stable",
-                        "nightly"
-                    ],
-                    "default": "stable",
-                    "markdownEnumDescriptions": [
-                        "`stable` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general.",
-                        "`nightly` updates are shipped daily (extension updates automatically by downloading artifacts directly from GitHub), they contain cutting-edge features and latest bug fixes. These releases help us get your feedback very quickly and speed up rust-analyzer development **drastically**."
-                    ],
-                    "markdownDescription": "Choose `nightly` updates to get the latest features and bug fixes every day. While `stable` releases occur weekly and don't contain cutting-edge features from VSCode proposed APIs."
-                },
-                "rust-analyzer.updates.askBeforeDownload": {
-                    "type": "boolean",
-                    "default": false,
-                    "description": "Whether to ask for permission before downloading any files from the Internet."
-                },
                 "rust-analyzer.server.path": {
                     "type": [
                         "null",
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index cb0868db597..0178e4bb870 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -24,7 +24,6 @@ export class Config {
         "procMacro",
         "files",
         "highlighting",
-        "updates.channel",
         "lens", // works as lens.*
     ]
         .map(opt => `${this.rootSection}.${opt}`);
@@ -103,8 +102,6 @@ export class Config {
         return this.get<null | string>("server.path") ?? this.get<null | string>("serverPath");
     }
     get serverExtraEnv() { return this.get<Env | null>("server.extraEnv") ?? {}; }
-    get channel() { return this.get<UpdatesChannel>("updates.channel"); }
-    get askBeforeDownload() { return this.get<boolean>("updates.askBeforeDownload"); }
     get traceExtension() { return this.get<boolean>("trace.extension"); }
     get proxySettings(): ProxySettings {
         const proxy = vscode