streetsidesoftware / vscode-spell-checker

A simple source code spell checker for code
https://streetsidesoftware.github.io/vscode-spell-checker/
Other
1.41k stars 125 forks source link

C/C++: The setting cSpell.allowCompoundWords does not affect C and C++ #383

Open kkaja123 opened 5 years ago

kkaja123 commented 5 years ago

Setting cSpell.allowCompoundWords = false does not affect C and C++ files.

file.c: CSpell Compound Words Visual Studio Code

file.txt: CSpell Compound Words Visual Studio Code 2

Jason3S commented 4 years ago

By default, allowCompoundWords for c & cpp files is true.

To override this value use the following:

    "cSpell.languageSettings": [
        {
            "languageId": "c,cpp",
            "allowCompoundWords": false
        }
    ]