We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d463dc0 + 49b8e2d commit e399de0Copy full SHA for e399de0
src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.ts
@@ -435,6 +435,13 @@ export class LivePreviewStrategy extends LiveStrategy {
435
override hasFocus(): boolean {
436
return super.hasFocus() || this._diffZone.value.hasFocus() || this._previewZone.value.hasFocus();
437
}
438
+
439
+ override getWidgetPosition(): Position | undefined {
440
+ if (this._session.lastTextModelChanges.length) {
441
+ return this._session.wholeRange.value.getEndPosition();
442
+ }
443
+ return;
444
445
446
447
function showSingleCreateFile(accessor: ServicesAccessor, edit: EditResponse) {
0 commit comments