Menus and Actions
Settings that control the menu items and actions available in the spell checker.
Setting | Scope | Description |
|---|---|---|
resource | Specify where words can be added to. This setting is used to control the "Add to Dictionary"… | |
resource | Hide the options to add words to dictionaries or settings. | |
resource | Control which menu items are shown on the Spelling Config Menu. | |
resource | Control which menu items are shown on the Editor Context Menu. | |
resource | Control which menu items are shown on the Spell Checker Action Menu. | |
resource | Control which menu items are shown on the Spelling Context Menu. | |
resource | Show Spell Checker actions in Editor Context Menu | |
resource | Show Spelling Suggestions link in the top level context menu. | |
resource | The type of menu used to display spelling suggestions. |
Settings
cSpell.allowWordsToBeAddTo
Name
cSpell.allowWordsToBeAddToDescription
Specify where words can be added to. This setting is used to control the "Add to Dictionary" code actions.
Examples
To disable adding words to user settings, but allow adding words to workspace settings:
"cSpell.addWordTo": {"user": false // Do not allow adding words to user settings}To disable adding words to all VSCode settings:
"cSpell.addWordTo": {"user": false // Do not allow adding words to user settings"workspace": false, // Do not allow adding words to workspace settings"folder": false // Do not allow adding words to folder settings}Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- default{"cspell": true,"dictionaries": true,"folder": true,"user": true,"workspace": true}
Since Extension Version
4.9.1
cSpell.hideAddToDictionaryCodeActions
Name
cSpell.hideAddToDictionaryCodeActionsDescription
Hide the options to add words to dictionaries or settings.
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.menuItemsOnCSpellConfigMenu
Name
cSpell.menuItemsOnCSpellConfigMenuDescription
Control which menu items are shown on the Spelling Config Menu.
Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- default{"createCSpellConfig": true,"createCustomDictionary": true}
Since Extension Version
4.9.1
cSpell.menuItemsOnEditorContextMenu
Name
cSpell.menuItemsOnEditorContextMenuDescription
Control which menu items are shown on the Editor Context Menu.
Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- default{"hideIssues": true,"showIssues": true,"spellingContextMenu": true,"suggestSpellingCorrections": true}
Since Extension Version
4.9.1
cSpell.menuItemsOnSpellCheckerActionMenu
Name
cSpell.menuItemsOnSpellCheckerActionMenuDescription
Control which menu items are shown on the Spell Checker Action Menu.
Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- default{"allowDocumentScheme": true, "createCSpellConfig": true,"disableFileType": true, "editKeyboardShortcuts": true,"editSpellCheckerSettings": true, "enableFileType": true,"excludeDocumentScheme": true, "hideIssues": true, "openConfigFiles": true,"openFileInfoView": true, "openIssuesPanel": true,"openSpellCheckerConsole": true, "showIssues": true}
Since Extension Version
4.9.1
cSpell.menuItemsOnSpellingContextMenu
Name
cSpell.menuItemsOnSpellingContextMenuDescription
Control which menu items are shown on the Spelling Context Menu.
Type
Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
- default{"addIgnoreWord": true, "addIssuesToDictionary": true,"addWordToCSpellConfig": true, "addWordToDictionary": true,"addWordToFolderDictionary": true, "addWordToFolderSettings": true,"addWordToUserDictionary": true, "addWordToUserSettings": true,"addWordToWorkspaceDictionary": true, "addWordToWorkspaceSettings": true,"suggestSpellingCorrections": true}
Since Extension Version
4.9.1
cSpell.showCommandsInEditorContextMenu
Name
cSpell.showCommandsInEditorContextMenuDescription
Show Spell Checker actions in Editor Context Menu
Type
booleanScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
true
cSpell.showSuggestionsLinkInEditorContextMenu
Name
cSpell.showSuggestionsLinkInEditorContextMenuDescription
Show Spelling Suggestions link in the top level context menu.
Type
booleanScope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
true
cSpell.suggestionMenuType
Name
cSpell.suggestionMenuTypeDescription
The type of menu used to display spelling suggestions.
Type
Any of:
"quickPick""quickFix"
( "quickPick" | "quickFix" )Value Description quickPickSuggestions will appear as a drop down at the top of the IDE. (Best choice for Vim Key Bindings) quickFixSuggestions will appear inline near the word, inside the text editor. Scope
resource - Resource settings, which apply to files and folders, and can be configured in all settings levels, even folder settings.
Default
"quickPick"
Type Definitions
ActionAddToTargets
Name
ActionAddToTargets
Description
Specify where words can be added to. This setting is used to control the "Add to Dictionary" code actions.
Examples
To disable adding words to user settings, but allow adding words to workspace settings:
"cSpell.addWordTo": {"user": false // Do not allow adding words to user settings}To disable adding words to all VSCode settings:
"cSpell.addWordTo": {"user": false // Do not allow adding words to user settings"workspace": false, // Do not allow adding words to workspace settings"folder": false // Do not allow adding words to folder settings}Type
Fields
Name
cspellDescription
Allow adding words cspell configuration file settings.
true- allow add to cspell settingsfalse- never enable add to cspell settings
Type
booleanDefault
true
Name
dictionariesDescription
Allow adding words user defined dictionaries settings.
true- allow add to cspell settingsfalse- never enable add to cspell settings
Type
booleanDefault
true
Name
folderDescription
Allow adding words to folder settings.
true- allow add to folder settingsfalse- never enable add to folder settings
Type
booleanDefault
true
Name
userDescription
Allow adding words to user settings.
true- allow add to user settingsfalse- never enable add to user settings
Type
booleanDefault
true
Name
workspaceDescription
Allow adding words to workspace settings.
true- allow add to workspace settingsfalse- never enable add to workspace settings
Type
booleanDefault
true
TypeScript:
{cspell?: boolean;dictionaries?: boolean;folder?: boolean;user?: boolean;workspace?: boolean;}Since Extension Version
4.9.1
EnabledItemsOnCSpellConfigMenu
Name
EnabledItemsOnCSpellConfigMenu
Description
Control which menu items are shown on the Spelling Config Menu.
Type
Fields
Name
createCSpellConfigDescription
Enable Menu Item: Create a CSpell Configuration File
Type
boolean
Name
createCustomDictionaryDescription
Enable Menu Item: Create a Custom Dictionary File
Type
boolean
{createCSpellConfig?: boolean;createCustomDictionary?: boolean;}Since Extension Version
4.9.1
EnabledItemsOnEditorContextMenu
Name
EnabledItemsOnEditorContextMenu
Description
Control which menu items are shown on the Editor Context Menu.
Type
Fields
Name
hideIssuesDescription
Enable Menu Item:
Hide Spelling IssuesType
boolean
Name
showIssuesDescription
Enable Menu Item:
Show Spelling IssuesType
boolean
Name
spellingContextMenuDescription
Enable Menu Item:
SpellingType
boolean
Name
suggestSpellingCorrectionsDescription
Enable Menu Item:
Spelling Suggestions...Type
boolean
{hideIssues?: boolean;showIssues?: boolean;spellingContextMenu?: boolean;suggestSpellingCorrections?: boolean;}Since Extension Version
4.9.1
EnabledItemsOnActionMenu
Name
EnabledItemsOnActionMenu
Description
Control which menu items are shown on the Spell Checker Action Menu.
Type
TypeScript:
{allowDocumentScheme?: boolean;createCSpellConfig?: boolean;disableFileType?: boolean;editKeyboardShortcuts?: boolean;editSpellCheckerSettings?: boolean;enableFileType?: boolean;excludeDocumentScheme?: boolean;hideIssues?: boolean;openConfigFiles?: boolean;openFileInfoView?: boolean;openIssuesPanel?: boolean;openSpellCheckerConsole?: boolean;showIssues?: boolean;}Since Extension Version
4.9.1
EnabledItemsOnSpellingContextMenu
Name
EnabledItemsOnSpellingContextMenu
Description
Control which menu items are shown on the Spelling Context Menu.
Type
Fields
Name
addIgnoreWordDescription
Enable Menu Item: Ignore Word
Type
boolean
Name
addIssuesToDictionaryDescription
Enable Menu Item: Add All Spelling Issues to Dictionary
Type
boolean
Name
addWordToCSpellConfigDescription
Enable Menu Item: Add Word to CSpell Configuration
Type
boolean
Name
addWordToDictionaryDescription
Enable Menu Item: Add Word to Dictionary
Type
boolean
Name
addWordToFolderDictionaryDescription
Enable Menu Item: Add Word to Folder Dictionary
Type
boolean
Name
addWordToFolderSettingsDescription
Enable Menu Item: Add Word to Folder Settings
Type
boolean
Name
addWordToUserDictionaryDescription
Enable Menu Item: Add Word to User Dictionary
Type
boolean
Name
addWordToUserSettingsDescription
Enable Menu Item: Add Word to User Settings
Type
boolean
Name
addWordToWorkspaceDictionaryDescription
Enable Menu Item: Add Word to Workspace Dictionary
Type
boolean
Name
addWordToWorkspaceSettingsDescription
Enable Menu Item: Add Word to Workspace Settings
Type
boolean
Name
suggestSpellingCorrectionsDescription
Enable Menu Item: Spelling Suggestions...
Type
boolean
TypeScript:
{addIgnoreWord?: boolean;addIssuesToDictionary?: boolean;addWordToCSpellConfig?: boolean;addWordToDictionary?: boolean;addWordToFolderDictionary?: boolean;addWordToFolderSettings?: boolean;addWordToUserDictionary?: boolean;addWordToUserSettings?: boolean;addWordToWorkspaceDictionary?: boolean;addWordToWorkspaceSettings?: boolean;suggestSpellingCorrections?: boolean;}Since Extension Version
4.9.1