Expand description
Diff rendering for file change confirmation
Provides visual diff display for file modifications, showing additions in green and deletions in red with line numbers.
When an IDE companion extension is connected, diffs can be shown in the IDE’s native diff viewer for a better experience.
Functions§
- confirm_
file_ write - Confirm file write with diff display and optional IDE integration
- confirm_
file_ write_ with_ ide - Confirm file write with IDE integration
- render_
diff - Render a diff between old and new content
- render_
new_ file - Render a new file (all additions)