Open
Description
Discussed in #5751
Originally posted by Jason3S May 29, 2024
Problem
One common frustration of CSpell users is that it flags variable names and imported libraries, when they are just wanting the spell checker to look for common spelling mistakes. A "Typos" mode would tell the spell checker to be less strict
. To only mark issues that are clear mistakes or are in the list of words to be flagged.
Solution
- add a new boolean configuration option
strict
, which istrue
by default.true
- the current behavior - all unknown words are marked as errors.false
- only common spelling issues and flagged words will be marked as errors.
- add document directives to enable/disable
strict
mode within a document.
Alternatives
The other alternative is to provide more control over the parts of a document that is checked by parsing the document and tagging sections (i.e. string
, variable
, comment
) and allowing the user to enable checking.
Note: this proposal can be used in conjunction with parsing.
Additional Context

Code of Conduct
- I agree to follow this project's Code of Conduct