mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
fix init order
This commit is contained in:
@@ -76,7 +76,7 @@ export class InlineCompletionsSource extends Disposable {
|
||||
public readonly inlineCompletions = this._state.map(this, v => v.inlineCompletions);
|
||||
public readonly suggestWidgetInlineCompletions = this._state.map(this, v => v.suggestWidgetInlineCompletions);
|
||||
|
||||
private readonly _renameProcessor = this._register(this._instantiationService.createInstance(RenameSymbolProcessor));
|
||||
private readonly _renameProcessor: RenameSymbolProcessor;
|
||||
|
||||
private _completionsEnabled: Record<string, boolean> | undefined = undefined;
|
||||
|
||||
@@ -101,6 +101,8 @@ export class InlineCompletionsSource extends Disposable {
|
||||
'editor.inlineSuggest.logFetch.commandId'
|
||||
));
|
||||
|
||||
this._renameProcessor = this._store.add(this._instantiationService.createInstance(RenameSymbolProcessor));
|
||||
|
||||
this.clearOperationOnTextModelChange.recomputeInitiallyAndOnChange(this._store);
|
||||
|
||||
const enablementSetting = product.defaultChatAgent?.completionsEnablementSetting ?? undefined;
|
||||
|
||||
Reference in New Issue
Block a user