Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 621
Jens Madsen Avatar asked May 12 '18 19:05

Jens Madsen


People also ask

How do I turn off spell check in Vscode?

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).

How do I enable spell check in Vscode?

Install. Open up VS Code and hit F1 and type ext select install and type code-spell-checker hit enter and reload window to enable.

How do I get rid of spell check lines?

Here's how. Select the text where you'd like to disable spell check or press Ctrl+A to select the entire document. On the Review tab, click Editor, and then click Set Proofing Language. In the Language box, click Don't check spelling or grammar, and then click OK.

Does Visual Studio code have a spell checker?

The Visual Studio 2022 editor will have a built-in spell-checker to help you code more accurately with fewer errors.


1 Answers

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", 
like image 160
Mark Avatar answered Oct 12 '22 13:10

Mark