mantish/ help / docs
Join the waitlist

Letter case, punctuation and typos

Read a re-cased name, a re-punctuated sentence or a corrected typo as no change at all.

Last updated

Some edits change characters without changing anything a reviewer has to check: a heading re-cased, a comma added to a comment, a typo corrected in a sentence. Three switches tell Mantish to read them as no change at all — not drawn, not counted, not stopped at when you jump between changes — the way it already reads whitespace.

SwitchReads as the sameNever in
Ignore letter caseObject and object, in code and in text—
Ignore punctuationPunctuation added, removed or changed in textCode
Ignore typosA word of text corrected by a letter or twoNames and code

The switches are independent — turn on only the ones you want — and each adds to the whitespace setting rather than replacing it.

What counts as text

Punctuation and typos are passed over only in text: comments, Markdown prose, plain-text documents, and strings that read as a sentence — a letter and a space, and no $. In code the same characters are meaning: !ready is not ready, a.b is not ab, getUser is not getUsers, and a string such as "timeout", "," or "a/b" is a key, a separator or a path. A mark inside a number or an operator — 1,5, != — stays meaning even in a sentence.

Letter case is passed over in code too, between tokens of one kind: a name re-cased is the same name, but String (a type) and string (a keyword) in C# stay different.

A typo is a word of at least four letters corrected by one edit — two from eight letters — that keeps its first letter: recieve → receive is passed over, increase → decrease is not.

In the previews

The Markdown, JSON and CSV previews follow the same switches. A heading, a key, a column or a cell that differs only by what is passed over is no change. Side by side still shows each version as it was written, so the old column keeps the old spelling. Code spans and code blocks in Markdown are always compared exactly.

Where to set it

AppWhere
Desktop appSettings › Diff › Comparison, or ⋯ in the file header
JetBrainsIn development
TerminalS opens the diff settings
mantish diff--ignore letter-case,punctuation,typos for one run

The switches are stored once on your computer and used by every app — change one in the desktop app and the terminal follows.

Ignoring is not hiding

An ignored difference is invisible to the analysis: nothing tags it and nothing counts it. To keep an account of what you chose not to read, hide a tag instead — see Muted changes.

Was this page helpful?