From 2432f278cb97701e1ca3750bc691ca9bd757892f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 17 Dec 2019 12:41:44 +0100 Subject: Default to client watching on VS Code --- editors/code/package.json | 2 +- editors/code/src/config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'editors') diff --git a/editors/code/package.json b/editors/code/package.json index 9290599c7..34bc81d5f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -219,7 +219,7 @@ }, "rust-analyzer.useClientWatching": { "type": "boolean", - "default": false, + "default": true, "description": "client provided file watching instead of notify watching." }, "rust-analyzer.cargo-watch.arguments": { diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index defdfeb9c..df15c8172 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -30,7 +30,7 @@ export class Config { public displayInlayHints = true; public maxInlayHintLength: null | number = null; public excludeGlobs = []; - public useClientWatching = false; + public useClientWatching = true; public featureFlags = {}; // for internal use public withSysroot: null | boolean = null; @@ -148,7 +148,7 @@ export class Config { this.excludeGlobs = config.get('excludeGlobs') || []; } if (config.has('useClientWatching')) { - this.useClientWatching = config.get('useClientWatching') || false; + this.useClientWatching = config.get('useClientWatching') || true; } if (config.has('featureFlags')) { this.featureFlags = config.get('featureFlags') || {}; -- cgit v1.2.3