compute_diff
Compare two text strings and produce a unified diff with move detection, context lines, and a summary using VS Code's advanced algorithm.
Instructions
Computes a highly accurate diff with move detection using the VS Code advanced diff algorithm. Returns a human-readable unified diff string with context lines, move annotations, and a summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modifiedText | Yes | The modified complete text. | |
| originalText | Yes | The original complete text. | |
| ignoreTrimWhitespace | No | If true, leading/trailing whitespace differences on each line are ignored. Defaults to false. |