Skip to content

Commit e399de0

Browse files
authored
Merge branch 'main' into aiday/incorrectIndentation
2 parents d463dc0 + 49b8e2d commit e399de0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,13 @@ export class LivePreviewStrategy extends LiveStrategy {
435435
override hasFocus(): boolean {
436436
return super.hasFocus() || this._diffZone.value.hasFocus() || this._previewZone.value.hasFocus();
437437
}
438+
439+
override getWidgetPosition(): Position | undefined {
440+
if (this._session.lastTextModelChanges.length) {
441+
return this._session.wholeRange.value.getEndPosition();
442+
}
443+
return;
444+
}
438445
}
439446

440447
function showSingleCreateFile(accessor: ServicesAccessor, edit: EditResponse) {

0 commit comments

Comments
 (0)