You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the diff viewer to review changes, after clicking 'Accept' or 'Reject', the focus returns to the file editor, but the cursor is always moved to the beginning of the file. This forces the user to manually scroll back to the location of the changes, disrupting the workflow.
Context (who is affected and when)
This issue affects all users who rely on the diff viewer for code reviews and accepting AI-generated changes. It occurs every time a diff view is closed, regardless of the file type or the complexity of the changes.
Desired behavior (conceptual, not technical)
After closing the diff viewer (either by accepting or rejecting the changes), the editor for the corresponding file should automatically scroll to the position that was last visible in the diff viewer. This ensures a seamless transition and allows the user to immediately continue their work from where they left off.
Constraints / preferences (optional)
No response
Request checklist
I've searched existing Issues and Discussions for duplicates
This describes a specific problem with clear context and impact
Problem (one or two sentences)
When using the diff viewer to review changes, after clicking 'Accept' or 'Reject', the focus returns to the file editor, but the cursor is always moved to the beginning of the file. This forces the user to manually scroll back to the location of the changes, disrupting the workflow.
Context (who is affected and when)
This issue affects all users who rely on the diff viewer for code reviews and accepting AI-generated changes. It occurs every time a diff view is closed, regardless of the file type or the complexity of the changes.
Desired behavior (conceptual, not technical)
After closing the diff viewer (either by accepting or rejecting the changes), the editor for the corresponding file should automatically scroll to the position that was last visible in the diff viewer. This ensures a seamless transition and allows the user to immediately continue their work from where they left off.
Constraints / preferences (optional)
No response
Request checklist
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response