Skip to main content

Advanced

Advanced settings that are not commonly used.

SettingScopeDescription
cSpell.advanced.feature.useReferenceProviderRemovelanguage-overridableRemove Matching Characters Before Rename
cSpell.advanced.feature.useReferenceProviderWithRenamelanguage-overridableUse Reference Provider During Rename
cSpell.fixSpellingWithRenameProviderlanguage-overridableUse Rename Provider when fixing spelling issues.
cSpell.logFilewindowWrite Logs to a File
cSpell.logLevelwindowSet Logging Level
cSpell.trustedWorkspacewindowEnable loading JavaScript CSpell configuration files.

Settings

cSpell.advanced.feature.useReferenceProviderRemove

Name

cSpell.advanced.feature.useReferenceProviderRemove -- Remove Matching Characters Before Rename

Description

Used to work around bugs in Reference Providers and Rename Providers. Anything matching the provided Regular Expression will be removed from the text before sending it to the Rename Provider.

See: Markdown: Fixing spelling issues in Header sections changes the entire line · Issue #1987

It is unlikely that you would need to edit this setting. If you need to, please open an issue at Spell Checker Issues

This feature is used in connection with cSpell.advanced.feature.useReferenceProviderWithRename

Type

string

Scope

language-overridable - Resource settings that can be overridable at a language level.

Default

- none -


cSpell.advanced.feature.useReferenceProviderWithRename

Name

cSpell.advanced.feature.useReferenceProviderWithRename -- Use Reference Provider During Rename

Description

Use the Reference Provider when fixing spelling issues with the Rename Provider. This feature is used in connection with cSpell.fixSpellingWithRenameProvider

Type

boolean

Scope

language-overridable - Resource settings that can be overridable at a language level.

Default

false


cSpell.fixSpellingWithRenameProvider

Name

cSpell.fixSpellingWithRenameProvider

Description

Use Rename Provider when fixing spelling issues.

Type

boolean

Scope

language-overridable - Resource settings that can be overridable at a language level.

Default

true


cSpell.logFile

Name

cSpell.logFile -- Write Logs to a File

Description

Have the logs written to a file instead of to VS Code.

Type

string

Scope

window - Windows (instance) specific settings which can be configured in user, workspace, or remote settings.

Default

- none -


cSpell.logLevel

Name

cSpell.logLevel -- Set Logging Level

Description

Set the Debug Level for logging messages.

Type

( "None" | "Error" | "Warning" | "Information" | "Debug" )

ValueDescription
NoneDo not log
ErrorLog only errors
WarningLog errors and warnings
InformationLog errors, warnings, and info
DebugLog everything (noisy)

Scope

window - Windows (instance) specific settings which can be configured in user, workspace, or remote settings.

Default

"Error"


cSpell.trustedWorkspace

Name

cSpell.trustedWorkspace

Description

Enable loading JavaScript CSpell configuration files.

This setting is automatically set to true in a trusted workspace. It is possible to override the setting to false in a trusted workspace, but a setting of true in an untrusted workspace will be ignored.

See:

Type

boolean

Scope

window - Windows (instance) specific settings which can be configured in user, workspace, or remote settings.

Default

true

Since Version

4.0.0