diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 2 | ||||
-rw-r--r-- | editors/code/src/config.ts | 4 |
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') || {}; |