mantish/ help / docs
Join the waitlist

Mute, hide and spotlight

Tell Mantish how much attention each kind of change deserves.

Last updated

Every change Mantish finds carries one or more tags that say what kind of edit it is — Formatting, Import changes, Logging, Logic, Breaking change and so on. Because changes have names, you can decide once how much attention each kind deserves, and every review after that follows your choice.

LevelWhat you seeTypical use
SpotlightAn amber bulb beside the change's first line, so it stands outBreaking changes, new dependencies, disabled tests
NormalThe change as usualEverything you have not chosen otherwise
MutedGreyed out and skipped when you jump between changes — one click awayComments, imports, logging
HiddenNot drawn at all — the lines read as unchanged, and a counter remainsFormatting and whitespace churn
A spotlighted and a muted change in the same file
A spotlighted and a muted change in the same file

The rules

  • Nothing is muted until you choose. A fresh install shows every change.
  • Spotlight wins. A change that is both spotlighted and muted — or hidden — is spotlighted.
  • Some changes are always shown. Logic, Refactoring, New package and every tag you can spotlight — Breaking change, Version bump, Security attribute, Type changes, Error handling, TODO comment, Disabled test, Suppression, Hidden Unicode — can never be muted or hidden: they are what a review is for.
  • Hidden is never silent. The file header counts every hidden change by tag, and can bring them back for that file.
  • One kind of file can differ. A tag can have a state of its own in one file type — import changes shown in C# while they stay muted everywhere else. See Muted changes.

One choice, every app

Your mute, hide and spotlight choices are stored once on your computer and used everywhere — the desktop app, the terminal and mantish diff. Change a tag in one of them and the others follow. A mantish diff flag that names tags — --mute, --hide, --spotlight or their --no- forms — replaces that choice for one run, in every file: the file types' own states for it are set aside too.

Three more ways to cut the noise

  • Renames are handled by their own rules, per language and kind of declaration — see Rename rules.
  • Files such as lockfiles can be kept out of counters and groupings altogether — see Ignored files.
  • Letter case, punctuation and typos can be read as no change at all — see Letter case, punctuation and typos.

Where to go next

Was this page helpful?