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.
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) inpackage.jsonundercontributes.configuration.properties. This exposes it in VS Code/VSCodium Settings (searchable under "Roo Fast Edits") and optionally in any custom settings UI (e.g., viasettingsPanel.ts).In the edit message formatter (e.g.,
editProposalService.tsorchatHandler.ts), check the setting and appendopento<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.