@@ -348,17 +348,11 @@ export class ModelEditorView extends AbstractWebview<
348348 withProgress ( ( progress ) => this . loadMethods ( progress ) , {
349349 cancellable : false ,
350350 } ) ,
351- // Only load access path suggestions if the feature is enabled
352- this . modelConfig . enableAccessPathSuggestions
353- ? withProgress (
354- ( progress ) => this . loadAccessPathSuggestions ( progress ) ,
355- {
356- cancellable : false ,
357- location : ProgressLocation . Window ,
358- title : "Loading access path suggestions" ,
359- } ,
360- )
361- : undefined ,
351+ withProgress ( ( progress ) => this . loadAccessPathSuggestions ( progress ) , {
352+ cancellable : false ,
353+ location : ProgressLocation . Window ,
354+ title : "Loading access path suggestions" ,
355+ } ) ,
362356 ] ) ;
363357 void telemetryListener ?. sendUIInteraction ( "model-editor-switch-modes" ) ;
364358
@@ -416,14 +410,11 @@ export class ModelEditorView extends AbstractWebview<
416410 await this . generateModeledMethodsOnStartup ( ) ;
417411 } ) ,
418412 this . loadExistingModeledMethods ( ) ,
419- // Only load access path suggestions if the feature is enabled
420- this . modelConfig . enableAccessPathSuggestions
421- ? withProgress ( ( progress ) => this . loadAccessPathSuggestions ( progress ) , {
422- cancellable : false ,
423- location : ProgressLocation . Window ,
424- title : "Loading access path suggestions" ,
425- } )
426- : undefined ,
413+ withProgress ( ( progress ) => this . loadAccessPathSuggestions ( progress ) , {
414+ cancellable : false ,
415+ location : ProgressLocation . Window ,
416+ title : "Loading access path suggestions" ,
417+ } ) ,
427418 ] ) ;
428419 }
429420
0 commit comments