Skip to main content

Appearance

Settings that control the appearance of the spell checker.

SettingScopeDescription
cSpell.darkapplicationDecoration for dark themes.
cSpell.doNotUseCustomDecorationForSchemeapplicationUse VS Code to Render Spelling Issues
cSpell.lightapplicationDecoration for light themes.
cSpell.overviewRulerColorapplicationThe CSS color used to show issues in the ruler.
cSpell.textDecorationapplicationThe CSS Style used to decorate spelling issues. Depends upon #cSpell.useCustomDecorations#.
cSpell.textDecorationColorapplicationThe decoration color for normal spelling issues.
cSpell.textDecorationColorFlaggedapplicationThe decoration color for flagged issues.
cSpell.textDecorationColorSuggestionapplicationThe decoration color for spelling suggestions.
cSpell.textDecorationLineapplicationThe CSS line type used to decorate issues.
cSpell.textDecorationStyleapplicationThe CSS line style used to decorate issues.
cSpell.textDecorationThicknessapplicationThe CSS line thickness used to decorate issues.
cSpell.useCustomDecorationsapplicationDraw custom decorations on Spelling Issues.

Settings

cSpell.dark

Name

cSpell.dark

Description

Decoration for dark themes.

See:

Type

object

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

- none -

Since Version

4.0.0


cSpell.doNotUseCustomDecorationForScheme

Name

cSpell.doNotUseCustomDecorationForScheme -- Use VS Code to Render Spelling Issues

Description

Use the VS Code Diagnostic Collection to render spelling issues.

With some edit boxes, like the source control message box, the custom decorations do not show up. This setting allows the use of the VS Code Diagnostic Collection to render spelling issues.

Type

object

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

{"vscode-scm":true}

Since Version

4.0.0


cSpell.light

Name

cSpell.light

Description

Decoration for light themes.

See:

Type

object

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

- none -

Since Version

4.0.0


cSpell.overviewRulerColor

Name

cSpell.overviewRulerColor

Description

The CSS color used to show issues in the ruler.

Depends upon cSpell.useCustomDecorations.

See:

Examples:

  • green
  • DarkYellow
  • #ffff0080 - semi-transparent yellow.
  • rgb(255 153 0 / 80%)

Type

string

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"#348feb80"

Since Version

4.0.0


cSpell.textDecoration

Name

cSpell.textDecoration

Description

The CSS Style used to decorate spelling issues. Depends upon cSpell.useCustomDecorations.

This setting is used to manually configure the text decoration. If it is not set, the following settings are used:

See: text-decoration - CSS: Cascading Style Sheets, MDN

Format: <line> [style] <color> [thickness]

Examples:

  • underline green
  • underline dotted yellow 0.2rem
  • underline wavy #ff0c 1.5px - Wavy underline with 1.5px thickness in semi-transparent yellow.

To change the ruler color, use cSpell.overviewRulerColor.

Type

string

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

- none -

Since Version

4.0.0


cSpell.textDecorationColor

Name

cSpell.textDecorationColor

Description

The decoration color for normal spelling issues.

See: text-decoration - CSS: Cascading Style Sheets, MDN

To change the ruler color, use cSpell.overviewRulerColor.

Examples:

  • green
  • yellow
  • #ff0c

Type

string

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"#348feb"

Since Version

4.0.0


cSpell.textDecorationColorFlagged

Name

cSpell.textDecorationColorFlagged

Description

The decoration color for flagged issues.

See: text-decoration - CSS: Cascading Style Sheets, MDN

Examples:

  • green
  • yellow
  • #ff0c

Type

string

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"#f44"

Since Version

4.0.0


cSpell.textDecorationColorSuggestion

Name

cSpell.textDecorationColorSuggestion

Description

The decoration color for spelling suggestions.

See: text-decoration - CSS: Cascading Style Sheets, MDN

Common Format: #RGBA or #RRGGBBAA or #RGB or #RRGGBB

Examples:

  • green
  • yellow
  • #ff0c

Type

string

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"#8884"

Since Version

4.0.2


cSpell.textDecorationLine

Name

cSpell.textDecorationLine

Description

The CSS line type used to decorate issues.

See: text-decoration - CSS: Cascading Style Sheets, MDN

Type

( "underline" | "overline" | "line-through" )

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"underline"

Since Version

4.0.0


cSpell.textDecorationStyle

Name

cSpell.textDecorationStyle

Description

The CSS line style used to decorate issues.

See: text-decoration - CSS: Cascading Style Sheets, MDN

Type

( "solid" | "wavy" | "dotted" | "dashed" | "double" )

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"dashed"

Since Version

4.0.0


cSpell.textDecorationThickness

Name

cSpell.textDecorationThickness

Description

The CSS line thickness used to decorate issues.

See: text-decoration - CSS: Cascading Style Sheets, MDN

Examples:

  • auto
  • from-font
  • 0.2rem
  • 1.5px
  • 10%

Type

string

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

"auto"

Since Version

4.0.0


cSpell.useCustomDecorations

Name

cSpell.useCustomDecorations

Description

Draw custom decorations on Spelling Issues.

  • true - Use custom decorations. - VS Code Diagnostic Severity Levels are not used.
  • false - Use the VS Code Diagnostic Collection to render spelling issues.

Note: This setting overrides the VS Code Diagnostics setting: cSpell.diagnosticLevel.

Type

boolean

Scope

application - Settings that apply to all instances of VS Code and can only be configured in user settings.

Default

false

Since Version

4.0.0