Legacy
Legacy settings that have been deprecated or are not commonly used.
Setting | Scope | Description |
|---|---|---|
resource | Enable / Disable allowing word compounds. |
Settings
cSpell.allowCompoundWords
Name
cSpell.allowCompoundWordsDescription
Enable / Disable allowing word compounds.
truemeansarraylengthwould be okfalsemeans it would not pass.
Note: this can also cause many misspelled words to seem correct.
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.customFolderDictionaries
cSpell.customFolderDictionariesName
-- Custom Folder DictionariescSpell.customFolderDictionariesDescription
Define custom dictionaries to be included by default for the folder. If
addWordsistruewords will be added to this dictionary.Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Deprecation Message
- Use
cSpell.customDictionariesinstead.
- Use
Default
- none -
cSpell.customUserDictionaries
cSpell.customUserDictionariesName
-- Custom User DictionariescSpell.customUserDictionariesDescription
Define custom dictionaries to be included by default for the user. If
addWordsistruewords will be added to this dictionary.Type
Scope
application - Settings that apply to all instances of VS Code and can only be configured in user settings.
Deprecation Message
- Use
cSpell.customDictionariesinstead.
- Use
Default
- none -
cSpell.customWorkspaceDictionaries
cSpell.customWorkspaceDictionariesName
-- Custom Workspace DictionariescSpell.customWorkspaceDictionariesDescription
Define custom dictionaries to be included by default for the workspace. If
addWordsistruewords will be added to this dictionary.Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Deprecation Message
- Use
cSpell.customDictionariesinstead.
- Use
Default
- none -
cSpell.enabledLanguageIds
cSpell.enabledLanguageIdsName
-- Enabled Language IdscSpell.enabledLanguageIdsDescription
Specify a list of file types to spell check. It is better to use
cSpell.enabledFileTypesto Enable / Disable checking files types.Type
string[]Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Deprecation Message
- Use
cSpell.enabledFileTypesinstead.
- Use
Default
- none -
cSpell.showStatus
cSpell.showStatusName
cSpell.showStatusDescription
Display the spell checker status on the status bar.
Type
booleanScope
application - Settings that apply to all instances of VS Code and can only be configured in user settings.
Deprecation Message
No longer used.
Default
true
cSpell.showStatusAlignment
cSpell.showStatusAlignmentName
cSpell.showStatusAlignmentDescription
The side of the status bar to display the spell checker status.
Type
Any of:
"Left""Right"
( "Left" | "Right" )Value Description LeftLeft Side of Statusbar RightRight Side of Statusbar Scope
application - Settings that apply to all instances of VS Code and can only be configured in user settings.
Deprecation Message
No longer supported.
Default
"Right"
Type Definitions
CustomDictionaryAugmentExistingDictionary
Name
CustomDictionaryAugmentExistingDictionary
Description
Type
Fields
Name
name(required)Description
The reference name of the dictionary.
Example:
My WordsorcustomIf the name matches a pre-defined dictionary, it will override the pre-defined dictionary. If you use:
typescriptit will replace the built-in TypeScript dictionary.Type
stringRequired
Yes
Name
addWordsDescription
Indicate if this custom dictionary should be used to store added words.
Type
booleanDefault
true
Name
descriptionDescription
Optional: A human readable description.
Type
string
Name
noSuggestDescription
Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.
Note: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.
Type
boolean
Name
pathDescription
Define the path to the dictionary text file.
Note: if path is
undefinedthenamed dictionary is expected to be found in thedictionaryDefinitions.File Format: Each line in the file is considered a dictionary entry.
Case is preserved while leading and trailing space is removed.
The path should be absolute, or relative to the workspace.
Example: relative to User's folder
"path": "~/dictionaries/custom_dictionary.txt"Example: relative to the
clientfolder in a multi-root workspace"path": "${workspaceFolder:client}/build/custom_dictionary.txt"Example: relative to the current workspace folder in a single-root workspace
Note: this might not work as expected in a multi-root workspace since it is based upon the relative workspace for the currently open file.
"path": "${workspaceFolder}/build/custom_dictionary.txt"Example: relative to the workspace folder in a single-root workspace or the first folder in a multi-root workspace
"path": "./build/custom_dictionary.txt"Type
string
Name
scopeDescription
Options are
user- words that apply to all projects and workspacesworkspace- words that apply to the entire workspacefolder- words that apply to only a workspace folder
Type
( ( "user" | "workspace" | "folder" ) | ( "user" | "workspace" | "folder" )[] )
TypeScript:
{addWords?: boolean;description?: string;name: string;noSuggest?: boolean;path?: string;scope?: (("user" | "workspace" | "folder") | ("user" | "workspace" | "folder")[]);}
CustomDictionary
Name
CustomDictionary
Description
Type
Fields
Name
name(required)Description
The reference name of the dictionary.
Example:
My WordsorcustomIf the name matches a pre-defined dictionary, it will override the pre-defined dictionary. If you use:
typescriptit will replace the built-in TypeScript dictionary.Type
stringRequired
Yes
Name
path(required)Description
Define the path to the dictionary text file.
Note: if path is
undefinedthenamed dictionary is expected to be found in thedictionaryDefinitions.File Format: Each line in the file is considered a dictionary entry.
Case is preserved while leading and trailing space is removed.
The path should be absolute, or relative to the workspace.
Example: relative to User's folder
"path": "~/dictionaries/custom_dictionary.txt"Example: relative to the
clientfolder in a multi-root workspace"path": "${workspaceFolder:client}/build/custom_dictionary.txt"Example: relative to the current workspace folder in a single-root workspace
Note: this might not work as expected in a multi-root workspace since it is based upon the relative workspace for the currently open file.
"path": "${workspaceFolder}/build/custom_dictionary.txt"Example: relative to the workspace folder in a single-root workspace or the first folder in a multi-root workspace
"path": "./build/custom_dictionary.txt"Type
stringRequired
Yes
Name
addWordsDescription
Indicate if this custom dictionary should be used to store added words.
Type
booleanDefault
true
Name
btrieDescription
An alternative path to a bTrie dictionary file. It will be used in place of
pathif the version of CSpell being used supports btrie files.Type
stringCSpell Version
9.6.0
Name
descriptionDescription
Optional: A human readable description.
Type
string
Name
ignoreForbiddenWordsDescription
Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.
Type
boolean
Name
kindDescription
Used to specify the type of dictionary being referenced. Values:
words- (default) A dictionary containing words.flag-words- A dictionary containing flag words. Words found in the dictionary will be treated likeflagWords.ignore-words- A dictionary containing words to ignore. This is the same as settingnoSuggesttotrue.suggest-words- A dictionary containing suggested word corrections. Words found in the dictionary will be treated likesuggestWords.
Type
( "words" | "flag-words" | "ignore-words" | "suggest-words" )CSpell Version
10.3.0
Name
noSuggestDescription
Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.
Note: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.
Type
boolean
Name
scopeDescription
Options are
user- words that apply to all projects and workspacesworkspace- words that apply to the entire workspacefolder- words that apply to only a workspace folder
Type
( ( "user" | "workspace" | "folder" ) | ( "user" | "workspace" | "folder" )[] )
Name
supportNonStrictSearchesDescription
Strip case and accents to allow for case insensitive searches and words without accents.
Note: this setting only applies to word lists. It has no-impact on trie dictionaries.
Type
booleanDefault
true
TypeScript:
{addWords?: boolean;btrie?: string;description?: string;ignoreForbiddenWords?: boolean;kind?: ("words" | "flag-words" | "ignore-words" | "suggest-words");name: string;noSuggest?: boolean;path: string;scope?: (("user" | "workspace" | "folder") | ("user" | "workspace" | "folder")[]);supportNonStrictSearches?: boolean;}
CustomDictionaryEntry
Name
CustomDictionaryEntry
Description
Type
Any of:
(
CustomDictionaryAugmentExistingDictionary|CustomDictionary|string)