aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-03-08 16:58:02 +0000
committerVeetaha <[email protected]>2020-03-08 16:58:02 +0000
commit6bd1ff16e5e517c89a154b9b26847d20656e1184 (patch)
tree68958b95faf5dad2bf3fd0f7457903a2cdeeed61 /editors/code/src
parent49b4e88458561986009f3cb9dee8879a0649049e (diff)
vscode: rename alwaysDownloadServer -> askBeforeDownload
The new name seems much simpler and it doesn't limit this config value only to downloading the server binary. Thus we wouldn't need to create another config properties to handle other downloads whatsoever. Anyway, I believe (heuristically) that most of the users would want to set "askBeforeDownload": false once and never bother clicking on the notification again (because otherwise there is no big point in installing rust-analyzer if it cannot install the server)
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index c4acb632d..cb9af86c0 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -134,7 +134,7 @@ export class Config {
134 file: prebuiltBinaryName, 134 file: prebuiltBinaryName,
135 storage: this.ctx.globalState, 135 storage: this.ctx.globalState,
136 tag: Config.extensionVersion, 136 tag: Config.extensionVersion,
137 askBeforeDownload: !(this.cfg.get("alwaysDownloadServer") as boolean), 137 askBeforeDownload: !(this.cfg.get("askBeforeDownload") as boolean),
138 repo: { 138 repo: {
139 name: "rust-analyzer", 139 name: "rust-analyzer",
140 owner: "rust-analyzer", 140 owner: "rust-analyzer",