Release v2.0.1-alpha.16
Version 2.0 Preview
This is a Preview release of the Extension.
Work is still underway for the final release to the VS Code Marketplace.
Highlights
- By default, only files in a workspace are spell checked.
- Be able to specify which files to check by adding globs to
filessetting. - Spelling suggestions available from the context menu.
- Improved context menu options.
- Upgrades cspell to version 5.7.1.
- Supports case sensitive dictionaries
- Full support of Yaml configuration files:
cspell.config.yaml - Full support of configuration in
package.jsonundercspellsection. - Partial support of JavaScript configuration files:
cspell.config.js
The extension supports reading the configuration but can only write to.jsonand.yamlfiles. - Supports dictionary entries that have numbers and mixed case.
- Supports more word splitting formats
It correctly splits bothERRORcodeandERRORCode - Reduced installation size and faster loading
Manual Installation
- Download and decompress
code-spell-checker.zip - From VS Code Install from VSIX
code-spell-checker-2.0.1-alpha.16.vsix

Features
Turning on case sensitive spell checking
VS Code UI
VS Code settings.json
cspell.json
"caseSensitive": trueFor a file type: markdown
cspell.json
"languageSettings": [
{ "languageId": "markdown", "caseSensitive": true }
]For a file extension: *.md
cspell.json
"overrides": [
{ "filename": "*.md", "caseSensitive": true }
]Making Words Forbidden
There are several ways to mark a word as forbidden:
- In a custom word list with words beginning with
!.!forbiddenWord - In
wordssection ofcspellconfiguration:"words": [ "!forbiddenWord", "configstore" ], - In
flagWordssection ofcspellconfiguration:"flagWords": ["forbiddenWord"]
Overriding Forbidden words
Sometimes it is necessary to allow a word even if it is forbidden.
In a comment
/**
* Do not mark `forbiddenWord` as incorrect.
* cspell:ignore forbiddenWord
*/In the cspell configuration
{
"ignoreWords": ["forbiddenWord"]
}