mantish/ help / docs
Join the waitlist

Spotlight

Make sure breaking changes, new dependencies and disabled tests never slip past.

Last updated

Muting pushes routine edits into the background. Spotlight does the opposite: it picks out the changes you must not miss and makes them stand out, wherever they are in the diff.

What it looks like

A spotlighted breaking change
A spotlighted breaking change
  • A spotlighted change keeps its usual colours and gets an amber bulb beside the number of its first line (Mark spotlighted changes). Hover the bulb to see why it is spotlighted.
  • The file tree shows a spotlight count on each file that has one. Hover it to see which tags.
  • ⋯ in the file header lists how many changes in the file are spotlighted.

Which changes you can spotlight

Every tag below is Show or Spotlight. The settings list them in groups:

GroupTagWhy you might want it
CommentsTODO commentSomeone left a TODO, FIXME or HACK behind
Commented-out codeA line stopped or started running, or code was written as a comment that never runs
CodeType changesA signature or type annotation changed
Error handlingError handling was added, removed or changed
Breaking changeA public API was removed or changed — callers may break
Disabled testAn existing test was skipped or switched off
Security attributeWho may call an endpoint, or where it answers, changed
SuppressionA check was switched off — @ts-ignore, # noqa, #pragma warning disable, as any
Hidden UnicodeAn invisible or direction-changing character was added — Trojan Source
DependenciesNew packageA dependency was added or its version changed
Version bumpA version number or release field changed
AgentAgent instructionsAn agent's instructions changed — every future session follows them
Agent configurationAn agent's permissions, hooks or MCP servers changed — what it may run

None of these can be muted or hidden: a change worth pointing at is never one worth hiding, and a change carrying one of them is not muted by any other tag either.

Renames can be spotlighted too, per language and kind of declaration — for example every renamed C# class or interface. See Rename rules.

Per file type

As with muted changes, what you choose under All files applies everywhere, and a file type can give a tag a state of its own — for example, spotlight type changes in TypeScript files only. A tag a file type has not set follows All files; one it has set is marked Override, with a Reset.

Turn it on

AppWhere
Desktop appSettings › Spotlight tags — All files or a file type on the left, its tags on the right
JetBrainsIn development
Terminal:settings › Spotlight — see below

In the terminal, space switches the tag under the cursor between show and spotlight (on a group's heading, the whole group); [ / ], i, u and d work on file types as they do under Auto-mute.

Nothing is spotlighted by default.

Good to know

  • Spotlight wins. If a change is spotlighted and also muted or hidden, it is shown — spotlighted.
  • Spotlight never hides anything else. It only adds emphasis.
Was this page helpful?