This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Commit 1ff009e
committed
Implement inline commenting in diff view
**Complete Comment System: Diff View → LLM Feedback**
**Implementation:**
- Added comment callback mechanism to SyntheticPRProvider
- Modified handleCommentSubmission to extract file path and line number
- Added handleCommentFeedback method to DaemonClient
- Wired up comment submission to feedback system
**Flow:**
1. User adds comment in diff view using VSCode comment UI
2. Comment appears in thread (existing behavior)
3. Comment details sent as feedback to LLM with file path and line number
4. Tree view clears to show completion
5. LLM receives structured comment feedback
**Benefits:**
- **Line-specific comments** - Comments tied to exact file and line
- **Native VSCode UI** - Uses built-in comment system
- **Complete feedback loop** - Comments flow back to LLM for response
- **Clean integration** - Works with existing review system
**Result:** Users can now add meaningful comments on specific lines of code!1 parent 2a13102 commit 1ff009e
2 files changed
+54
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
478 | 508 | | |
479 | 509 | | |
480 | 510 | | |
| |||
775 | 805 | | |
776 | 806 | | |
777 | 807 | | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
778 | 813 | | |
779 | 814 | | |
780 | 815 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
458 | 477 | | |
459 | 478 | | |
460 | 479 | | |
| |||
0 commit comments