aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-17 11:41:44 +0000
committerAleksey Kladov <[email protected]>2019-12-17 11:41:44 +0000
commit2432f278cb97701e1ca3750bc691ca9bd757892f (patch)
treeac20b3b252a8dc9e83b09bdf159835152f8bdac4 /editors/code
parent3e2f4e42937cb6e6855df94e424b55ed102af44d (diff)
Default to client watching on VS Code
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json2
-rw-r--r--editors/code/src/config.ts4
2 files changed, 3 insertions, 3 deletions
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 @@
219 }, 219 },
220 "rust-analyzer.useClientWatching": { 220 "rust-analyzer.useClientWatching": {
221 "type": "boolean", 221 "type": "boolean",
222 "default": false, 222 "default": true,
223 "description": "client provided file watching instead of notify watching." 223 "description": "client provided file watching instead of notify watching."
224 }, 224 },
225 "rust-analyzer.cargo-watch.arguments": { 225 "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 {
30 public displayInlayHints = true; 30 public displayInlayHints = true;
31 public maxInlayHintLength: null | number = null; 31 public maxInlayHintLength: null | number = null;
32 public excludeGlobs = []; 32 public excludeGlobs = [];
33 public useClientWatching = false; 33 public useClientWatching = true;
34 public featureFlags = {}; 34 public featureFlags = {};
35 // for internal use 35 // for internal use
36 public withSysroot: null | boolean = null; 36 public withSysroot: null | boolean = null;
@@ -148,7 +148,7 @@ export class Config {
148 this.excludeGlobs = config.get('excludeGlobs') || []; 148 this.excludeGlobs = config.get('excludeGlobs') || [];
149 } 149 }
150 if (config.has('useClientWatching')) { 150 if (config.has('useClientWatching')) {
151 this.useClientWatching = config.get('useClientWatching') || false; 151 this.useClientWatching = config.get('useClientWatching') || true;
152 } 152 }
153 if (config.has('featureFlags')) { 153 if (config.has('featureFlags')) {
154 this.featureFlags = config.get('featureFlags') || {}; 154 this.featureFlags = config.get('featureFlags') || {};