zed icon indicating copy to clipboard operation
zed copied to clipboard

Format streamed edits on save

Open rtfeldman opened this issue 6 months ago • 0 comments

Re-enables format on save for agent changes (when the user has that enabled in settings), except differently from before:

  • Now we do the format-on-save in the separate buffer the edit tool uses, before the diff
  • This means it never triggers separate staleness
  • It has the downside that edits are now blocked on the formatter completing, but that's true of saving in general.

Release Notes:

  • N/A

rtfeldman avatar May 28 '25 18:05 rtfeldman