diff --git a/clients/vscode/src/chat/webview.ts b/clients/vscode/src/chat/webview.ts index b5e58f0ff28c..46f6ef5569fd 100644 --- a/clients/vscode/src/chat/webview.ts +++ b/clients/vscode/src/chat/webview.ts @@ -739,6 +739,11 @@ export class ChatWebview { } private async notifyActiveEditorSelectionChange(editor: TextEditor | undefined) { + if (editor && editor.document.uri.scheme === "output") { + // do not update when the active editor is an output channel + return; + } + if (!editor || !isValidForSyncActiveEditorSelection(editor)) { await this.client?.updateActiveSelection(null); return;