Reporting and Display
Settings that control how the spell checker reports and displays errors.
Setting | Scope | Description |
|---|---|---|
resource | Autocorrect | |
window | Auto Format Configuration File | |
resource | Set Diagnostic Reporting Level | |
resource | Set Diagnostic Reporting Level for Flagged Words | |
resource | Enabled Notifications | |
application | Hide Issues While Typing | |
resource | The maximum number of times the same word can be flagged as an error in a file. | |
resource | Controls the maximum number of spelling errors per document. | |
resource | The minimum length of a word before checking it against a dictionary. | |
resource | Controls the number of suggestions shown. | |
application | Reveal Issues After a Delay in Milliseconds | |
language-overridable | Show CSpell in-document directives as you type. | |
resource | The maximum number of changes allowed on a word to be considered a suggestions. | |
resource | Controls how unknown words are handled. | |
window | Verify that the in-document directives are correct. |
Settings
cSpell.autocorrect
Name
cSpell.autocorrect-- AutocorrectDescription
Enable / Disable autocorrect while typing.
Type
booleanScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
false
cSpell.autoFormatConfigFile
Name
cSpell.autoFormatConfigFile-- Auto Format Configuration FileDescription
If a
cspellconfiguration file is updated, format the configuration file using the VS Code Format Document Provider. This will cause the configuration file to be saved prior to being updated.Type
booleanScope
window - Windows (instance) specific settings which can be configured in user, workspace, or remote settings.
Default
false
cSpell.diagnosticLevel
Name
cSpell.diagnosticLevel-- Set Diagnostic Reporting LevelDescription
The Diagnostic Severity Level determines how issues are shown in the Problems Pane and within the document. Set the level to
Hintto hide the issues from the Problems Pane.Note:
cSpell.useCustomDecorationsmust befalseto use VS Code Diagnostic Severity Levels.Type
Any of:
"Error""Warning""Information""Hint"
( "Error" | "Warning" | "Information" | "Hint" )Value Description ErrorReport Spelling Issues as Errors WarningReport Spelling Issues as Warnings InformationReport Spelling Issues as Information HintReport Spelling Issues as Hints, will not show up in Problems Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
"Information"
cSpell.diagnosticLevelFlaggedWords
Name
cSpell.diagnosticLevelFlaggedWords-- Set Diagnostic Reporting Level for Flagged WordsDescription
Flagged word issues found by the spell checker are marked with a Diagnostic Severity Level. This affects the color of the squiggle. By default, flagged words will use the same diagnostic level as general issues. Use this setting to customize them.
Type
Any of:
"Error""Warning""Information""Hint"
( "Error" | "Warning" | "Information" | "Hint" )Value Description ErrorReport Spelling Issues as Errors WarningReport Spelling Issues as Warnings InformationReport Spelling Issues as Information HintReport Spelling Issues as Hints, will not show up in Problems Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- none -
Since Extension Version
4.0.0
cSpell.enabledNotifications
Name
cSpell.enabledNotifications-- Enabled NotificationsDescription
Control which notifications are displayed.
See:
Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- default{"Average Word Length too Long": true,"Lines too Long": true,"Maximum Word Length Exceeded": true}
Since Extension Version
4.0.41
cSpell.hideIssuesWhileTyping
Name
cSpell.hideIssuesWhileTyping-- Hide Issues While TypingDescription
Control how spelling issues are displayed while typing. See:
cSpell.revealIssuesAfterDelayMSto control when issues are revealed.Type
Any of:
"Off""Word""Line""Document"
( "Off" | "Word" | "Line" | "Document" )Value Description OffShow issues while typing WordHide issues while typing in the current word LineHide issues while typing on the line DocumentHide all issues while typing in the document Scope
application - Settings that apply to all instances of VS Code and can only be configured in user settings.
Default
"Word"Since Extension Version
4.0.0
cSpell.maxDuplicateProblems
Name
cSpell.maxDuplicateProblemsDescription
The maximum number of times the same word can be flagged as an error in a file.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
20
cSpell.maxNumberOfProblems
Name
cSpell.maxNumberOfProblemsDescription
Controls the maximum number of spelling errors per document.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
100
cSpell.minWordLength
Name
cSpell.minWordLengthDescription
The minimum length of a word before checking it against a dictionary.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
4
cSpell.numSuggestions
Name
cSpell.numSuggestionsDescription
Controls the number of suggestions shown.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
8
cSpell.revealIssuesAfterDelayMS
Name
cSpell.revealIssuesAfterDelayMS-- Reveal Issues After a Delay in MillisecondsDescription
Reveal hidden issues related to
cSpell.hideIssuesWhileTypingafter a delay in milliseconds.Type
numberScope
application - Settings that apply to all instances of VS Code and can only be configured in user settings.
Default
1500Since Extension Version
4.0.0
cSpell.showAutocompleteDirectiveSuggestions
Name
cSpell.showAutocompleteDirectiveSuggestionsDescription
Show CSpell in-document directives as you type.
Note: VS Code must be restarted for this setting to take effect.
Type
booleanScope
language-overridable - Resource settings that can be overridable at a language level.
Default
true
cSpell.suggestionNumChanges
Name
cSpell.suggestionNumChangesDescription
The maximum number of changes allowed on a word to be considered a suggestions.
For example, appending an
sontoexample->examplesis considered 1 change.Range: between 1 and 5.
Type
numberScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
3
cSpell.unknownWords
Name
cSpell.unknownWordsDescription
Controls how unknown words are handled.
report-all- Report all unknown words (default behavior)report-simple- Report unknown words that have simple spelling errors, typos, and flagged words.report-common-typos- Report unknown words that are common typos and flagged words.report-flagged- Report unknown words that are flagged.
Type
Any of:
"report-all""report-simple""report-common-typos""report-flagged"
( "report-all" | "report-simple" | "report-common-typos" | "report-flagged" )Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- none -
cSpell.validateDirectives
Name
cSpell.validateDirectivesDescription
Verify that the in-document directives are correct.
Type
booleanScope
window - Windows (instance) specific settings which can be configured in user, workspace, or remote settings.
Default
- none -
Type Definitions
EnabledNotifications
Name
EnabledNotifications
Description
Control which notifications are displayed.
See:
Type
Fields
Name
Average Word Length too LongDescription
Enable notifications if the average word size is too high.
Type
boolean
Name
Lines too LongDescription
Enable notifications if the line is too long.
Type
boolean
Name
Maximum Word Length ExceededDescription
Enable notifications if the maximum word length is exceeded.
Type
boolean
{"Average Word Length too Long"?: boolean;"Lines too Long"?: boolean;"Maximum Word Length Exceeded"?: boolean;}Since Extension Version
4.0.41