diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 4 | ||||
-rw-r--r-- | editors/code/src/config.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index df8e9eecb..f7ab2c2f3 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": { |
@@ -529,7 +529,7 @@ | |||
529 | }, | 529 | }, |
530 | { | 530 | { |
531 | "id": "ralsp.type.lifetime", | 531 | "id": "ralsp.type.lifetime", |
532 | "description": "Color for `Self` param type", | 532 | "description": "Color for lifetimes parameters", |
533 | "defaults": { | 533 | "defaults": { |
534 | "dark": "#4EC9B0", | 534 | "dark": "#4EC9B0", |
535 | "light": "#267F99", | 535 | "light": "#267F99", |
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index a6e0f6454..e131f09df 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -31,7 +31,7 @@ export class Config { | |||
31 | public displayInlayHints = true; | 31 | public displayInlayHints = true; |
32 | public maxInlayHintLength: null | number = null; | 32 | public maxInlayHintLength: null | number = null; |
33 | public excludeGlobs = []; | 33 | public excludeGlobs = []; |
34 | public useClientWatching = false; | 34 | public useClientWatching = true; |
35 | public featureFlags = {}; | 35 | public featureFlags = {}; |
36 | // for internal use | 36 | // for internal use |
37 | public withSysroot: null | boolean = null; | 37 | public withSysroot: null | boolean = null; |
@@ -157,7 +157,7 @@ export class Config { | |||
157 | this.excludeGlobs = config.get('excludeGlobs') || []; | 157 | this.excludeGlobs = config.get('excludeGlobs') || []; |
158 | } | 158 | } |
159 | if (config.has('useClientWatching')) { | 159 | if (config.has('useClientWatching')) { |
160 | this.useClientWatching = config.get('useClientWatching') || false; | 160 | this.useClientWatching = config.get('useClientWatching') || true; |
161 | } | 161 | } |
162 | if (config.has('featureFlags')) { | 162 | if (config.has('featureFlags')) { |
163 | this.featureFlags = config.get('featureFlags') || {}; | 163 | this.featureFlags = config.get('featureFlags') || {}; |