Clicking a modified .xlsx, .parquet, or .sqlite file in VS Code Source Control greets you with The file is not displayed in the text editor because it is either binary or uses an unsupported text encoding. And for .csv files, inserting a single row at the top or swapping two columns turns the entire diff red and green.
Why primary-key alignment changes everything
When you align rows by a unique key column (id, sku, uuid, or an explicit SQLite PRIMARY KEY) instead of line numbers:
- Reordered rows show zero false diffs.
- Reordered columns are flagged cleanly in a schema diff banner instead of breaking every row.
- Modified rows highlight only the exact changed cells (
old -> new). - Duplicate keys can be disambiguated deterministically (
key [dup #2]) so rows are never silently dropped.
Try it offline in your browser or inside VS Code / Cursor
-
Zero-upload browser tool (Excel
.xlsx, CSV, Parquet, JSONL): lukaslabs.top/tools/excel-csv-diff - VS Code & Cursor extension with 1-click Visual Git Diff vs HEAD: RowSlate · VS Code Marketplace · Open VSX (Cursor / Windsurf — Verified) · GitHub Releases
(Disclosure: Built independently at Lukas Labs.)
Top comments (0)