diff options
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index a4581485c..2578bc6d1 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -22,6 +22,7 @@ export class Config { | |||
22 | public showWorkspaceLoadedNotification = true; | 22 | public showWorkspaceLoadedNotification = true; |
23 | public lruCapacity: null | number = null; | 23 | public lruCapacity: null | number = null; |
24 | public displayInlayHints = true; | 24 | public displayInlayHints = true; |
25 | public maxInlayHintLength: null | number = null; | ||
25 | public excludeGlobs = []; | 26 | public excludeGlobs = []; |
26 | public useClientWatching = false; | 27 | public useClientWatching = false; |
27 | public featureFlags = {}; | 28 | public featureFlags = {}; |
@@ -131,6 +132,11 @@ export class Config { | |||
131 | if (config.has('displayInlayHints')) { | 132 | if (config.has('displayInlayHints')) { |
132 | this.displayInlayHints = config.get('displayInlayHints') as boolean; | 133 | this.displayInlayHints = config.get('displayInlayHints') as boolean; |
133 | } | 134 | } |
135 | if (config.has('maxInlayHintLength')) { | ||
136 | this.maxInlayHintLength = config.get( | ||
137 | 'maxInlayHintLength' | ||
138 | ) as number; | ||
139 | } | ||
134 | if (config.has('excludeGlobs')) { | 140 | if (config.has('excludeGlobs')) { |
135 | this.excludeGlobs = config.get('excludeGlobs') || []; | 141 | this.excludeGlobs = config.get('excludeGlobs') || []; |
136 | } | 142 | } |