Link Search Menu Expand Document

Case Sensitivity

The spell checker supports case sensitive checking. By default it is turned off.

Because the spell checker was originally case insensitive, making it case aware takes care so as to not break things. CSpell 5.x introduced the caseSensitive setting to allow checking case.

Note: Not all dictionaries are currently case aware, so in those cases, lower case words are allowed.

Always Enable Case Sensitive Checking

Note: this might create a lot of false issues in code files.

Global Enable: cspell.json

{
  "caseSensitive": true
}

By File Type

It can be enabled per file type.

The following configuration will turn on case sensitivity for markdown files.

cspell.json

"languageSettings": [
  {
    "languageId": "markdown",
    "caseSensitive": true
  }
]

By Glob Pattern

cspell.json

"overrides": [
  {
    // Case sensitive markdown in the docs folder
    "filename": "docs/**/*.md",
    "caseSensitive": true
  }
]