-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Before expansion:
After clicking on the file name, expansion:
Feature Request
Problem Description:
The diff in "Roo wants to edit this file" messages uses a collapsible <details> element with the filename as <summary>, requiring a click on the gray bar to expand. This interrupts workflow for quick reviews, especially since diffs calculate upfront but aren't auto-visible.
Proposed Solution:
Add a boolean setting roo.fastEdits.autoExpandEditDiffs (default: false) in package.json under contributes.configuration.properties. This exposes it in VS Code/VSCodium Settings (searchable under "Roo Fast Edits") and optionally in any custom settings UI (e.g., via settingsPanel.ts).
In the edit message formatter (e.g., editProposalService.ts or chatHandler.ts), check the setting and append open to <details> if true: <details open><summary>[filename] +X -Y</summary><pre><code class="language-diff">[diff]</code></pre></details>.
This auto-expands cleanly, preserves syntax highlighting, and avoids JS/CSS hacks. Test for large diffs/perf. References bug #10855.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status