@@ -42,6 +42,8 @@ const elementId: { [key: string]: string } = {
4242 mergeConfigurations : "mergeConfigurations" ,
4343 dotConfig : "dotConfig" ,
4444 dotConfigInvalid : "dotConfigInvalid" ,
45+ recursiveIncludesReduce : "recursiveIncludes.reduce" ,
46+ recursiveIncludesPriority : "recursiveIncludes.priority" ,
4547
4648 // Browse properties
4749 browsePath : "browsePath" ,
@@ -103,6 +105,7 @@ class SettingsApp {
103105 // Special case for checkbox elements
104106 document . getElementById ( elementId . limitSymbolsToIncludedHeaders ) ?. addEventListener ( "change" , this . onChangedCheckbox . bind ( this , elementId . limitSymbolsToIncludedHeaders ) ) ;
105107 document . getElementById ( elementId . mergeConfigurations ) ?. addEventListener ( "change" , this . onChangedCheckbox . bind ( this , elementId . mergeConfigurations ) ) ;
108+ document . getElementById ( elementId . recursiveIncludesReduce ) ?. addEventListener ( "change" , this . onChangedCheckbox . bind ( this , elementId . recursiveIncludesReduce ) ) ;
106109 }
107110
108111 private addEventsToConfigNameChanges ( ) : void {
@@ -300,6 +303,10 @@ class SettingsApp {
300303 ( < HTMLInputElement > document . getElementById ( elementId . configurationProvider ) ) . value = config . configurationProvider ? config . configurationProvider : "" ;
301304 ( < HTMLInputElement > document . getElementById ( elementId . forcedInclude ) ) . value = joinEntries ( config . forcedInclude ) ;
302305 ( < HTMLInputElement > document . getElementById ( elementId . dotConfig ) ) . value = config . dotConfig ? config . dotConfig : "" ;
306+ if ( config . recursiveIncludes ) {
307+ ( < HTMLInputElement > document . getElementById ( elementId . recursiveIncludesReduce ) ) . checked = config . recursiveIncludes . reduce ;
308+ ( < HTMLInputElement > document . getElementById ( elementId . recursiveIncludesPriority ) ) . value = config . recursiveIncludes . priority ;
309+ }
303310
304311 if ( config . browse ) {
305312 ( < HTMLInputElement > document . getElementById ( elementId . browsePath ) ) . value = joinEntries ( config . browse . path ) ;
0 commit comments