diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index d2feac0d73e..e5843ed70f4 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc @@ -53,7 +53,7 @@ To disable this notification put the following to `settings.json` [source,json] ---- -{ "rust-analyzer.askBeforeDownload": false } +{ "rust-analyzer.updates.askBeforeDownload": false } ---- ==== diff --git a/editors/code/package.json b/editors/code/package.json index 430a61c640d..6827c822b48 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -219,7 +219,7 @@ } } }, - "rust-analyzer.askBeforeDownload": { + "rust-analyzer.updates.askBeforeDownload": { "type": "boolean", "default": true, "description": "Whether to ask for permission before downloading any files from the Internet" diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 948c12c2de9..b72206d3cbe 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -134,7 +134,7 @@ export class Config { file: prebuiltBinaryName, storage: this.ctx.globalState, tag: Config.extensionVersion, - askBeforeDownload: this.cfg.get("askBeforeDownload") as boolean, + askBeforeDownload: this.cfg.get("updates.askBeforeDownload") as boolean, repo: { name: "rust-analyzer", owner: "rust-analyzer",