Mute, hide and spotlight
Tell Mantish how much attention each kind of change deserves.
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.
| Level | What you see | Typical use |
|---|---|---|
| Spotlight | An amber bulb beside the change's first line, so it stands out | Breaking changes, new dependencies, disabled tests |
| Normal | The change as usual | Everything you have not chosen otherwise |
| Muted | Greyed out and skipped when you jump between changes — one click away | Comments, imports, logging |
| Hidden | Not drawn at all — the lines read as unchanged, and a counter remains | Formatting and whitespace churn |

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
- Muted changes — what muting does, and how to hide changes completely.
- Spotlight — make sure the important changes stand out.
- Change tag reference — every tag, and what you can do with it.
Was this page helpful?