[Bug]: Can't disable compound words (VSCode)
bugNeeds Investigatingnew issue
### Kind of Issue
Change in behavior / Regression
### Tool or Library
Other, cspell
### Version
4.4.0 pre-release (VSCode)
### Supporting Library
Not sure / None
### OS
Windows
### OS Version
10 22H2 19045.6691
### Description
Can't disable compound words with `"allowCompoundWords": false` and/or `"cSpell.allowCompoundWords": false` in VSCode
### Steps to Reproduce
1. Make a new folder called `clean`
2. Start VSCode
3. Make a new profile with only cspell enabled, default settings for everything
4. Open folder `clean` in VSCode
5. Paste the following into `clean\.vscode\settings.json`
```json
{
"cSpell.allowCompoundWords": false,
}
```
6. Paste the following into `clean\cspell.json`
```json
{
"version": "0.2",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"allowCompoundWords": false,
}
```
7. Open a new window in VSCode
8. Paste the following text into the new window: `notablepassiveheaderleft`
9. Save the file as `example.cpp`
10. The word is considered correct spelling, indicating that compound words are accepted.
### Expected Behavior
Either setting should disable compound words when set to `false`
### Additional Information
<img width="371" height="169" alt="Image" src="https://github.com/user-attachments/assets/6ddf4643-9d40-4cc1-95a8-8c264f42da8c" />
<br />
<img width="256" height="558" alt="Image" src="https://github.com/user-attachments/assets/d6dedf96-fe51-4213-89bf-cc01ed75281c" />
### cspell.json
```jsonc
{
"version": "0.2",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"allowCompoundWords": false,
}
```
### cspell.config.yaml
```yml
n/a
```
### Example Repository
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
4 条评论