It would be highly beneficial to introduce an opt-in "Listen to PRs" background feature that monitors active Pull Requests for incoming review comments and integrates directly with Copilot Chat to streamline the feedback loop.
Currently, context switching between PR review platforms and the IDE to address comments is a manual and disruptive process. This feature would automatically capture PR feedback and present actionable, AI-driven resolution paths directly within VS Code.
Proposed Implementation:
- Smart Notification System: Upon receiving PR comments, VS Code triggers a toast notification. This system should include a configurable debounce/delay (e.g., 2-3 minutes) to batch multiple comments into a single notification and account for immediate reviewer retractions.
- Triage Actions: The consolidated notification should offer three primary resolution paths:
- Review Manually: Opens the standard PR diff view for human intervention.
- Suggest with Copilot: Opens a new Copilot Chat session, automatically attaching the relevant file context and pre-filling a prompt based on the reviewer's feedback. The user can then review, edit, and send the prompt.
- Auto (Agentic Mode): Delegates the resolution to Copilot, allowing it to autonomously perform code changes to address the feedback or draft direct replies to the PR comments.
- Context Menu Enhancement: Extend the existing
+ (Add Context) menu in the Copilot Chat UI to explicitly include "PR Comments" as a selectable data source, enabling users to easily bind review feedback to standard chat queries.
This workflow significantly reduces the friction of the code review process, allowing developers to leverage AI to resolve PR feedback seamlessly and efficiently.
It would be highly beneficial to introduce an opt-in "Listen to PRs" background feature that monitors active Pull Requests for incoming review comments and integrates directly with Copilot Chat to streamline the feedback loop.
Currently, context switching between PR review platforms and the IDE to address comments is a manual and disruptive process. This feature would automatically capture PR feedback and present actionable, AI-driven resolution paths directly within VS Code.
Proposed Implementation:
+(Add Context) menu in the Copilot Chat UI to explicitly include "PR Comments" as a selectable data source, enabling users to easily bind review feedback to standard chat queries.This workflow significantly reduces the friction of the code review process, allowing developers to leverage AI to resolve PR feedback seamlessly and efficiently.