You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Edit ToolArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
Unclear It is not clear whether deletions still remove the newline after the deleted text.
What
When Claude edits a file by replacing one piece of text with another, Claude Code used to treat deletions (replacing text with nothing) specially by also removing a newline that followed it. That special case is gone. Claude Code now first looks for an alternative piece of text to replace, and uses it if the file contains it, otherwise it replaces the original text.
Why
Edits that delete text may leave whitespace differently than before.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether deletions still remove the newline after the deleted text.