vscode-spell-checker icon indicating copy to clipboard operation
vscode-spell-checker copied to clipboard

Disable output in the "PROBLEMS" tab

Open zrno opened this issue 5 years ago • 6 comments
trafficstars

Is it possible to disable the cSpell output in the "PROBLEMS" tab in vscode? I only want compiler or static analysis messages in there and I want to see the spell checker issues only in the editor.

zrno avatar Jan 16 '20 04:01 zrno

Setting "cSpell.maxNumberOfProblems": 0 didn't work as it completely disabled the spell checker suggestions.

zrno avatar Jan 20 '20 01:01 zrno

I know this is a bit of a lame answer, but Extensions do not have control of the Problems panel.

The extension just provides a list of Diagnostic objects to VS Code and it does the rest.

See: Filter "Problems" by the extension which generated them (Markers Panel Filter) · Issue #51103 · microsoft/vscode

Jason3S avatar Jan 20 '20 12:01 Jason3S

I know this is a bit of a lame answer, but Extensions do not have control of the Problems panel.

The extension just provides a list of Diagnostic objects to VS Code and it does the rest.

See: Filter "Problems" by the extension which generated them (Markers Panel Filter) · Issue #51103 · microsoft/vscode

What a shame! I really love cSpell as it helps my dyslexia hugely, but I absolutely must fix all linting issues before committing. So, I need to see the PROBLEMS number get to zero, but it's full of spelling items that I have to keep circling around. I hope VS Code will let Extensions have control of the Problems panel.

In the mean time I've had to disable cSpell. Whaaaaaa!!!

grumBit avatar Jul 14 '20 02:07 grumBit

@grumBit You can bind a keyboard shortcut to turn off the spell checker while fix the linter issues. When the spell checker is off, the issues will not show in the problems pane.

Just try: F1 -> Toggle Spell Checking

see: CHANGELOG.md - new commands

Jason3S avatar Sep 29 '20 17:09 Jason3S

Toggle Spell Checking

That's brilliant! Thank you so much @Jason3S!

grumBit avatar Oct 08 '20 03:10 grumBit

Thanks a lot @Jason3S for your great work. I would still like to come back to this. The workaround with enable/disable spell checking is not bad, but I realize that I never reach the point to turn it back on after turning it off.

Would it work to add some token (like the suffix - cSpell) to the messages, to help with the filtering in the "Problems" pane? I'm admittedly a bit ignorant how well the "Problems" pane filters work...

emmenlau avatar Nov 12 '20 16:11 emmenlau

I think this might be fixed by the ability to set cSpell.diagnosticLevel to hint as per https://streetsidesoftware.com/vscode-spell-checker/docs/configuration/#cspelldiagnosticlevel

tlourey avatar Dec 30 '23 01:12 tlourey

This is fixed by #2887 It will go out with the 4.0 release.

Jason3S avatar Dec 30 '23 08:12 Jason3S

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Mar 24 '24 05:03 github-actions[bot]