vscode-spell-checker
vscode-spell-checker copied to clipboard
Extension doesn't get disabled in some file types when using `cSpell.enabledLanguageIds`
Hi! Thanks for the awesome work with this extension.
I'm trying to only enable the spell checker on specific file types (e.g. Markdown, Plain Text, Latex and other non-code files but not TypeScript, Python, etc). I've tried using cSpell.enableFiletypes
to manually disable each file type I don't want checked, but I can't find a way to not have to list every language with a !
at the start to disable it. I've tried using !*
but it doesn't seem to work (or it's not implemented).
I've also tried only listing specific language ids using cSpell.enabledLanguageIds
. Using this option does disable the extension in most of the file types, but it doesn't for some. For example, the extension still shows suggestions when using Dart, so I've had to disable it manually with cSpell.enabledLanguageIds
.
My current settings look like this:
{
"cSpell.checkOnlyEnabledFileTypes": true,
"cSpell.enabledLanguageIds": [
"git-commit",
"git-rebase",
"latex",
"markdown",
"plaintext",
"restructuredtext",
"scminput",
"text"
],
"cSpell.enableFiletypes": [
"!dart"
],
}
I'm not sure if #1893 is related to this issue, but I'm linking it anyways because I get the same result in the UI and I still get suggestions if I don't disable Dart with cSpell.enableFiletypes
as you can see in the following screenshots.