Skip to content

Commit 5e921de

Browse files
committed
removing the duplicate implementation
1 parent 23760c1 commit 5e921de

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatController.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,6 @@ export class InlineChatController implements IEditorContribution {
200200
this._zone.value.showWidget(widgetPosition ?? selectionRange.getStartPosition());
201201
}
202202

203-
private _showWidget(initialRender: boolean = false, hasEditResponse: boolean = false) {
204-
assertType(this._activeSession);
205-
const selectionRange = this._activeSession.wholeRange.value;
206-
const widgetPosition = this._strategy?.getWidgetPosition(initialRender, selectionRange, hasEditResponse);
207-
this._zone.value.showWidget(widgetPosition ?? selectionRange.getStartPosition());
208-
}
209-
210203
protected async _nextState(state: State, options: InlineChatRunOptions | undefined): Promise<void> {
211204
this._log('setState to ', state);
212205
const nextState = await this[state](options);

0 commit comments

Comments
 (0)