Jens Madsen
Jens Madsen

Reputation: 1620

VS Code: enable inline spell checker, but disable spell check in the "Problems" panel

I use the code spell checker for VS Code. I would like to disable the spell checker warnings/errors in the "PROBLEMS" panel (standard keyboard binding Ctrl+Shift+M) where "more serious" problems show up.

Often there are so many spell checker errors that I have to scroll down to the "real" problems :-)

enter image description here

Upvotes: 127

Views: 112397

Answers (14)

AnsonH
AnsonH

Reputation: 3256

Code Spell Checker v4.0+ now supports custom decorators and colors.

Go to Settings and find these items:

  • "C Spell: Use Custom Decorations" -> Tick the checkbox
    • Note: This setting overrides the "C Spell: Diagnostic Level" setting so that spell errors won't show in "Problems"
  • "C Spell: Text Decoration" -> Enter a one-liner CSS to control the text decoration (e.g. underline wavy #fc9867 auto)

The equivalent settings in settings.json are:

"cSpell.useCustomDecorations": true,
"cSpell.textDecoration": "underline wavy #fc9867 auto"

enter image description here

Upvotes: 5

IceSea
IceSea

Reputation: 131

If you are only annoyed by the info level minimap highlight, and would tolerate othrewise manually filter out info level problems, I suggest the following and keep the wave underscore info level tips inline

"workbench.colorCustomizations": {
    "minimap.infoHighlight": "#00000000", // minimap hide info level highlight
},

Upvotes: 1

sourav pandit
sourav pandit

Reputation: 9115

In case you want have any specific file or word you can write it in .vscode/settings.json

{
    "cSpell.diagnosticLevel": "Hint",
    "cSpell.words": [
        "crazyword"
    ],
    "cSpell.ignorePaths" : [
        ".golangci.yml",
        ".vscode/settings.json"
    ], 
}

Upvotes: 1

shorif
shorif

Reputation: 71

write "!word" in the terminal > problem tab > search bar. it's a regular expression syntax. "!word" means all errors without an error name word. it will exclude all word-related errors.

Screenshot

Upvotes: 6

RuchDi
RuchDi

Reputation: 468

  • Go to setting (Ctrl+,)
  • type cSpell.diagnosticLevel in a search box
  • change the option to Hint

Upvotes: 31

Soheil Hosseini
Soheil Hosseini

Reputation: 1

First go to the setting at the bottom left side of VS code window,

Setting Page

Search for "spell" in the search bar,

Search Bar

Now toggle the Enable/Disable Spell Checker option and disable it.

Toggle the Enable option

Upvotes: -1

nishar
nishar

Reputation: 27

if your problem is this then follow the below step to solve

go to your setting vs shortcut ctrl+, inside setting panel search cspell

when you search csepll you get the option

unchecked this cspell and your problem is solved

Upvotes: -1

Brendan
Brendan

Reputation: 1025

It stopped working for me in .mdx files.

I explicitly enabled all file types by adding a * to the C Spell: Enable Filetypes in the Settings page in VS Code and it is working again!

enter image description here

Upvotes: 0

steveSarsawa
steveSarsawa

Reputation: 1679

I've just unchecked C Spell: Enabled in Settings and all the Spelling related warnings has been disappeared.

Imge ScreenShot

Upvotes: 5

Tiago
Tiago

Reputation: 45

You just need to go settings.json file.
Hit Ctrl+Shift+f and type cSpell.enabled. cSpell.enabled should be true, change it to false:

enter image description here

Upvotes: 1

Mark
Mark

Reputation: 180755

See issues: don't show in Problems pane. It is suggested to try:

"cSpell.diagnosticLevel": "Hint",

in your settings.json. This will remove them from the problems pane. However, in your files these "hints" are now indicated by three small dots under the beginning of the misspell and are not all that apparent. You can modify them with the colorCustomization:

"workbench.colorCustomizations": {

  // will change the color of three dots to red
  "editorHint.foreground": "#ff0000",

  // will underline the entire word with dots in your chosen color
  "editorHint.border": "#00ff66"
}

This will give you both sets of hint dots, you can hide the built-in three dots by making them transparent:

"editorHint.foreground": "#f000",

Upvotes: 175

Rozy Mahsun
Rozy Mahsun

Reputation: 365

Just Toggle Spell option in command pallete (View-Command Pallete) Disable Spell Checking

Upvotes: 28

maraet
maraet

Reputation: 277

HIDE:

Enable Dictionary Commands (use F1 or View -> Command Palette...):

Enable Spanish Spell Checker Dictionary Enable Spanish Spell Checker Dictionary in Workspace Disable Dictionary Commands (use F1 or View -> Command Palette...):

Disable Spanish Spell Checker Dictionary Disable Spanish Spell Checker Dictionary in Workspace

Upvotes: 1

navaladi v.k
navaladi v.k

Reputation: 141

Right click on word and click show spell check configuration info from menu .A spell checker tab will appear then click on file info and deselect spell checker enabled for file type(in my case it was typescript).

Upvotes: 0

Related Questions