-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed as not planned
Closed as not planned
Copy link
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.enhancementNew feature or requestNew feature or request
Description
Version: 3.22.3 (719d661)
Problem
The multi-file apply_diff experiment lacks a side-by-side diff preview capability. This prevents users from previewing changes before accepting them.
Technical Details
The current implementation in multiApplyDiffTool.ts supports modifying multiple files in a single operation:
<apply_diff>
<args>
<file>
<path>file1.txt</path>
<diff>...</diff>
</file>
<file>
<path>file2.txt</path>
<diff>...</diff>
</file>
<file>
<path>file3.txt</path>
<diff>...</diff>
</file>
</args>
</apply_diff>
However, the preview mechanism only shows the traditional search/replace format:
<<<<<<< SEARCH
Original content
=======
New content
>>>>>>> REPLACE
Suggested Implementation
A side-by-side diff preview for multi-file operations should:
- Render a tabbed interface showing each file being modified
- Display original and modified content in parallel columns for each file
- Highlight specific changes with color coding
- Provide file navigation controls for multi-file operations
- Include a summary view showing all affected files
This would enhance the multi-file apply_diff experiment by providing proper visual feedback before changes are accepted.
dosubot and jmolinski
Metadata
Metadata
Assignees
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done