Performance
Settings that control the performance of the spell checker.
| Setting | Scope | Description |
|---|---|---|
cSpell.blockCheckingWhenAverageChunkSizeGreaterThan | language-overridable | The maximum average length of chunks of text without word breaks. |
cSpell.blockCheckingWhenLineLengthGreaterThan | language-overridable | The maximum line length. |
cSpell.blockCheckingWhenTextChunkSizeGreaterThan | language-overridable | The maximum length of a chunk of text without word breaks. |
cSpell.checkLimit | resource | Set the maximum number of blocks of text to check. Each block is 1024 characters. |
cSpell.spellCheckDelayMs | application | Delay in ms after a document has changed before checking it for spelling errors. |
cSpell.suggestionsTimeout | resource | The maximum amount of time in milliseconds to generate suggestions for a word. |
Settings
cSpell.blockCheckingWhenAverageChunkSizeGreaterThan
Name
cSpell.blockCheckingWhenAverageChunkSizeGreaterThanDescription
The maximum average length of chunks of text without word breaks.
A chunk is the characters between absolute word breaks. Absolute word breaks match:
/[\s,{}[\]]/Error Message: Average word length is too long.
If you are seeing this message, it means that the file contains mostly long lines without many word breaks.
Hide this message using
cSpell.enabledNotificationsType
numberScope
language-overridable - Resource settings that can be overridable at a language level.
Default
200
cSpell.blockCheckingWhenLineLengthGreaterThan
Name
cSpell.blockCheckingWhenLineLengthGreaterThanDescription
The maximum line length.
Block spell checking if lines are longer than the value given. This is used to prevent spell checking generated files.
Error Message: Lines are too long.
Hide this message using
cSpell.enabledNotificationsType
numberScope
language-overridable - Resource settings that can be overridable at a language level.
Default
20000
cSpell.blockCheckingWhenTextChunkSizeGreaterThan
Name
cSpell.blockCheckingWhenTextChunkSizeGreaterThanDescription
The maximum length of a chunk of text without word breaks.
It is used to prevent spell checking of generated files.
A chunk is the characters between absolute word breaks. Absolute word breaks match:
/[\s,{}[\]]/, i.e. spaces or braces.Error Message: Maximum word length exceeded.
If you are seeing this message, it means that the file contains a very long line without many word breaks.
Hide this message using
cSpell.enabledNotificationsType
numberScope
language-overridable - Resource settings that can be overridable at a language level.
Default
1000
cSpell.checkLimit
Name
cSpell.checkLimitDescription
Set the maximum number of blocks of text to check. Each block is 1024 characters.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
500
cSpell.spellCheckDelayMs
Name
cSpell.spellCheckDelayMsDescription
Delay in ms after a document has changed before checking it for spelling errors.
Type
numberScope
application - Settings that apply to all instances of VS Code and can only be configured in user settings.
Default
50
cSpell.suggestionsTimeout
Name
cSpell.suggestionsTimeoutDescription
The maximum amount of time in milliseconds to generate suggestions for a word.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
400