mantish/ help / docs
Join the waitlist

Inline reveal

Hover a changed line to see exactly what changed in it, without comparing both sides by eye.

Last updated

On a modified line, the interesting part is usually one or two words — a renamed argument, a changed number. Normally you find them by looking left, then right, then left again. Inline reveal does that for you: hover the line and Mantish shows the old and the new version merged into one, with exactly the changed words marked.

What it looks like

Inline reveal in Tooltip mode
Inline reveal in Tooltip mode

How to use it

Hold ⌘ (on Windows and Linux, Alt) and hover a modified line. Letting go of the key closes the reveal again, so the cards never get in the way while you scroll.

Prefer it without a key? Set Hover Reveal › Trigger to Always (on hover). Or keep Hold a key and choose a different Hold key — any key or mouse button works.

The same trigger also opens two other hover previews: the lines folded away by Hide unchanged lines, and a muted change when its reveal trigger is set to Whole block.

Options

OptionChoices
ModeTooltip (hover card) (default) — a card next to the line · Peek (in place) — the line itself changes to show the merge
StyleMerge (default) — the line with the other side's words shown in it · Stacked — all the old lines, then all the new · Interleaved — old and new, line by line. Tooltip mode only
GranularitySmart (default) — marks only the part of a word that changed · Word — replaces whole words
Inline reveal in Peek mode
Inline reveal in Peek mode

Where to find it

AppWhere
Desktop appThe gear in the top bar (View settings) › Inline Reveal and Hover Reveal
JetBrainsIn development

Inline reveal is on by default. To switch it off, untick Reveal token-level changes on hover. In the desktop app, the command palette (⌘K) has the same switches — type Inline Reveal or Hover Reveal.

Was this page helpful?