Skip to content

Commit 650ec14

Browse files
committed
Remove channel and ask before download prefs
1 parent c68dbc1 commit 650ec14

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

editors/code/package.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -303,24 +303,6 @@
303303
"default": true,
304304
"description": "Whether inlay hints font size should be smaller than editor's font size."
305305
},
306-
"rust-analyzer.updates.channel": {
307-
"type": "string",
308-
"enum": [
309-
"stable",
310-
"nightly"
311-
],
312-
"default": "stable",
313-
"markdownEnumDescriptions": [
314-
"`stable` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general.",
315-
"`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**."
316-
],
317-
"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."
318-
},
319-
"rust-analyzer.updates.askBeforeDownload": {
320-
"type": "boolean",
321-
"default": false,
322-
"description": "Whether to ask for permission before downloading any files from the Internet."
323-
},
324306
"rust-analyzer.server.path": {
325307
"type": [
326308
"null",

editors/code/src/config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export class Config {
2424
"procMacro",
2525
"files",
2626
"highlighting",
27-
"updates.channel",
2827
"lens", // works as lens.*
2928
]
3029
.map(opt => `${this.rootSection}.${opt}`);
@@ -103,8 +102,6 @@ export class Config {
103102
return this.get<null | string>("server.path") ?? this.get<null | string>("serverPath");
104103
}
105104
get serverExtraEnv() { return this.get<Env | null>("server.extraEnv") ?? {}; }
106-
get channel() { return this.get<UpdatesChannel>("updates.channel"); }
107-
get askBeforeDownload() { return this.get<boolean>("updates.askBeforeDownload"); }
108105
get traceExtension() { return this.get<boolean>("trace.extension"); }
109106
get proxySettings(): ProxySettings {
110107
const proxy = vscode

0 commit comments

Comments
 (0)