aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index e131f09df..26bf30e7f 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -30,6 +30,7 @@ export class Config {
30 public lruCapacity: null | number = null; 30 public lruCapacity: null | number = null;
31 public displayInlayHints = true; 31 public displayInlayHints = true;
32 public maxInlayHintLength: null | number = null; 32 public maxInlayHintLength: null | number = null;
33 public showDefaultTypesInInlayHints = false;
33 public excludeGlobs = []; 34 public excludeGlobs = [];
34 public useClientWatching = true; 35 public useClientWatching = true;
35 public featureFlags = {}; 36 public featureFlags = {};
@@ -153,6 +154,11 @@ export class Config {
153 'maxInlayHintLength', 154 'maxInlayHintLength',
154 ) as number; 155 ) as number;
155 } 156 }
157 if (config.has('showDefaultTypesInInlayHints')) {
158 this.showDefaultTypesInInlayHints = config.get(
159 'showDefaultTypesInInlayHints',
160 ) as boolean;
161 }
156 if (config.has('excludeGlobs')) { 162 if (config.has('excludeGlobs')) {
157 this.excludeGlobs = config.get('excludeGlobs') || []; 163 this.excludeGlobs = config.get('excludeGlobs') || [];
158 } 164 }