You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`filePath`|`string`| No | Path to the file to diff. Defaults to current file in editor. |
107
+
|`originalSource`|`string`| Yes | Original source code to compare against |
108
+
|`newSource`|`string`| Yes | New source code to compare with |
109
+
|`showActionButtons`|`boolean`| No | Whether to show action buttons for chunk acceptance (default: `true`) |
110
+
111
+
## Architecture
112
+
113
+
### Diff Strategies
114
+
115
+
The extension provides two diff viewing strategies:
116
+
117
+
-**Split diff** (`split-cell-diff`): Uses CodeMirror's two-pane view. Displays original and modified code side-by-side in separate panels with diff highlighting.
118
+
119
+
-**Unified diff** (`unified-cell-diff`/`unified-file-diff`): Uses CodeMirror's `unifiedMergeView`. Displays changes in a single unified view with added/removed lines clearly marked. Can be used for both cell diffs and regular file diffs.
0 commit comments