File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -569,10 +569,7 @@ export class CodeActionService {
569569 return undefined ;
570570 }
571571
572- const baseEditorSettings = this . settingsManager . getCurrentSettings ( ) . editor ;
573- const doc = this . documentManager . get ( params . textDocument . uri ) ;
574- if ( ! doc ) return undefined ;
575- const docEditorSettings = doc . getEditorSettings ( baseEditorSettings ) ;
572+ const docEditorSettings = this . documentManager . getEditorSettingsForDocument ( params . textDocument . uri ) ;
576573
577574 const extractionResult = this . extractToParameterProvider . generateExtraction (
578575 context ,
@@ -619,10 +616,7 @@ export class CodeActionService {
619616 return undefined ;
620617 }
621618
622- const baseEditorSettings = this . settingsManager . getCurrentSettings ( ) . editor ;
623- const doc = this . documentManager . get ( params . textDocument . uri ) ;
624- if ( ! doc ) return undefined ;
625- const docEditorSettings = doc . getEditorSettings ( baseEditorSettings ) ;
619+ const docEditorSettings = this . documentManager . getEditorSettingsForDocument ( params . textDocument . uri ) ;
626620
627621 const extractionResult = this . extractToParameterProvider . generateAllOccurrencesExtraction (
628622 context ,
You can’t perform that action at this time.
0 commit comments