
Release Notes: - N/A --------- Co-authored-by: michael <michael@zed.dev> Co-authored-by: agus <agus@zed.dev>
1 KiB
1 KiB
- A new changeset file is created to document a patch that improves diff editing animations and enhances prompts for large file edits. An indicator showing the number of diff edits is also added next to each file path.
- In
diff.ts
, the error message thrown when aSEARCH
block doesn’t match content has been updated to clarify that the mismatch could be due to out-of-order blocks. - In
responses.ts
, the assistant response for diff mismatches now recommends limiting to 1–3SEARCH/REPLACE
blocks at a time for large files. It also simplifies fallback instructions for using thewrite_to_file
tool. - The
DiffViewProvider.ts
file has been updated to replace line-by-line animations with chunk-based updates for better performance. For large diffs, a smooth scrolling animation is introduced to maintain visual context. Small diffs still scroll directly. - In
CodeAccordian.tsx
, a new visual indicator displays the number ofREPLACE
blocks in the code diff using a diff icon and count, providing quick insight into the volume of changes.