Feature Request: Add line-by-line code review functionality to file change approvals
Description:
Currently, when Claude Code makes changes to a file and presents them for review in the IDE, users can only accept or reject the entire change with a single feedback message. This limits the
ability to provide detailed, specific feedback on complex changes.
Feature Request:
Add a PR-like review interface that allows users to:
- Comment on specific lines: Add a comment button/icon next to each changed line in the diff view
- Accumulate feedback: Store line-specific comments in memory as the user reviews
- Batch rejection: When rejecting, automatically aggregate all line comments into a structured feedback string
- Clear review state: Reset comments after accept/reject actions
Expected Behavior:
Line 15: Use dayjs instead of Date constructor
Line 23: Add proper error handling here
Line 30: This function should be async
Line 45: Missing TypeScript type annotation
This aggregated feedback would be passed to Claude, allowing for comprehensive fixes in a single iteration.
Current Workaround:
Users must manually format line-by-line feedback in the rejection message, which is cumbersome and error-prone.
Benefits:
- Improved developer experience
- More efficient code review workflow
- Reduced back-and-forth iterations
- Better alignment with standard PR review practices
Technical Implementation:
The plugin would need:
- UI components for line-level commenting
- Local state management for comment storage
- String formatting/aggregation on rejection
- Comment persistence during review session
This feature would significantly enhance the code review experience and bring Claude Code closer to industry-standard review workflows.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗