Rift: Diff Huge FilesCompare two large text files without opening them in an editor. The Rift side panel lists the differing segments and the moved blocks. Selecting one opens VS Code's own diff editor on just that excerpt, so the native diff UI works on files far beyond what VS Code can load.
The recording is a generated 1 GiB pair on an Apple M1. A higher-quality MP4 and the poster frame are in the repository. ScreenshotsThe shots below show a generated 1 GiB SQL dump pair of about 13.3 million lines each.
The summary row gives line counts and the number of differences. Each segment lists its line ranges in both files.
A segment opens in the native diff editor. The tab title carries the original line ranges.
Moved blocks list both ends and their size. Select one to see it beside its new position.
When a scan does not fit its budget, the error offers a rerun with a larger one. FeaturesSelect two files in the Explorer and choose Compare with Rift, or run Rift: Compare Files… from the command palette. The Rift view in the activity bar shows:
Selecting a segment or a moved block opens a diff of that excerpt with the
context lines around it. The tab title carries the original line ranges,
for example A scan of a large pair takes a while. The view and the status bar show its progress, and the tree fills in when the scan ends. Settings
If a scan does not fit its budget, the error offers to rerun with the server's advice plus 25%, rounded up to the next power of two from 16M (16M, 32M, 64M, … 1G, 2G) and capped at the server's per-comparison limit. When the cap leaves no room above the budget that just failed, no rerun is offered. A pair that is refused twice more gets a link to the memory guide instead of a third button. Commands and keys
The keys apply while a comparison is open. Requirements
PrivacyEverything stays on your machine. The extension starts one LinksLicenseLicensed under MIT or Apache 2.0, at your option. |




