Skip to content
TwinScope0.3.10

Your first comparison

Three moves. Give it two things, press Enter, read the result. The rest of this page is a tour of what comes back.

Getting startedEdit this page
GIF · press play
Copy, paste, copy, paste. The clipboard fills the empty side first, so two pastes fill both slots.

1. Give it two things#

Any of these routes fills a slot, and nothing downstream cares which one you used.

RouteHow
Drag and dropDrop a file, folder or image onto the BEFORE or AFTER zone
File picker⌘O — opens twice, BEFORE first, then AFTER
Folder picker⌘⇧O — same, for directories
Clipboard⌘V when nothing is focused, or ⌘⇧V at any time. The empty side fills first
NeitherPress Load sample comparison on the compare screen to run a real pair through the real engine

Each filled zone shows the file's name, its size, the kind TwinScope decided it is, and the first few lines of it. If you got the sides the wrong way round, ⌘⇧S swaps them. Giving it two inputs covers every route in detail.

2. Press #

With both slots filled, the detection bar names what will run — Detected: json → Structural JSON diff — and the Compare button lights up. does the same thing, as long as you are not typing in a text field.

Click to enlarge
The bar commits before you do. It names the engine, and says so when the choice is surprising.

If you would rather choose the engine yourself, the dropdown at the end of the bar overrides detection — see Type detection. A text pair over 10 MB asks for confirmation first, because a multi-megabyte diff takes a few seconds and a spinner that long looks like a hang.

3. Read the result#

The workspace opens with the same shape for every engine.

WhereWhat it tells you
ToolbarThe engine that ran, the controls that engine owns, the search box, Export, and ← New comparison
Summary stripN changes, then + added - removed ~ modified, then whatever counts this engine adds — lines, nodes, regions, identical files
The view itselfThe diff, tree or image comparison, filling the rest of the window
Status barWhich engine ran, how the files were decoded, and how long the comparison took

Counts come first on purpose: the question is almost always how much changed before it is what changed.

Step through the changes#

The ‹ 3 / 17 › stepper in the summary strip and the ⌥↑ / ⌥↓ keys share one index with the view, so the number, the keys and the scroll position can never disagree. See Change navigation.

Take it with you#

Export offers a self-contained HTML report, Markdown for a pull request, and a unified patch copied straight to the clipboard. ⌘⇧E repeats whichever format you used last. See Export.

Then read about your engine#

If you comparedRead
Two files of code, or any textText and code
Two JSON documentsJSON
Two directoriesFolders
Two screenshots or exported assetsImages
Two executables, archives or opaque blobsBinary files