Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more context on the chatsController.activeEditor TODO item #6246

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions vscode/src/chat/chat-view/ChatsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ export class ChatsController implements vscode.Disposable {
// For now, always use the side panel if it's visible.
// TODO: Let activeEditor be able to become this.panel,
// thus handling both the side panel and a webview panel the same way.
// More info: https://drive.google.com/file/d/19cjIgFq8Wthfzjen0nWykqZybxWw4dYx/view?usp=sharing
} else if (submitType === 'continue-chat' && this.panel.isVisible()) {
provider = this.panel
} else if (submitType === 'continue-chat' && this.activeEditor?.webviewPanelOrView?.visible) {
Expand Down
Loading