Skip to content

Commit

Permalink
feat: Upgrade C# dictionary (#2791)
Browse files Browse the repository at this point in the history
* feat: Upgrade C# dictionary

**Semi-Breaking change**

`allowCompoundWords` is no-longer `true` by default for C#.

If you want the old behavior, add the following to your `cspell.json` file:

**`cspell.json`**
```json
{
    "languageSettings": [
        {
            "languageId": "csharp",
            "allowCompoundWords": true
        }
    ]
}
```
  • Loading branch information
Jason3S committed May 4, 2022
1 parent 778b8fe commit 64c11da
Show file tree
Hide file tree
Showing 7 changed files with 521 additions and 261 deletions.
2 changes: 1 addition & 1 deletion integration-tests/config/config.json
Expand Up @@ -335,7 +335,7 @@
"args": [
"**/*.{md,cs,cshtml}",
"--exclude=wwwroot",
"--exclude=WebhookPublisher_Tests.cs"
"--exclude=**/*SampleApp.Tests/Web*"
],
"commit": "d391acbe561bd2f289e292d534a8da6271a1d572"
},
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions packages/cspell-bundled-dicts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cspell-bundled-dicts/package.json
Expand Up @@ -49,7 +49,7 @@
"@cspell/dict-companies": "^2.0.4",
"@cspell/dict-cpp": "^2.0.3",
"@cspell/dict-cryptocurrencies": "^2.0.0",
"@cspell/dict-csharp": "^2.0.1",
"@cspell/dict-csharp": "^3.0.1",
"@cspell/dict-css": "^2.0.0",
"@cspell/dict-dart": "^1.1.0",
"@cspell/dict-django": "^2.0.0",
Expand Down
14 changes: 7 additions & 7 deletions packages/cspell-lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cspell-lib/package.json
Expand Up @@ -73,7 +73,7 @@
},
"devDependencies": {
"@cspell/dict-cpp": "^1.1.40",
"@cspell/dict-csharp": "^1.0.11",
"@cspell/dict-csharp": "^3.0.1",
"@cspell/dict-css": "^1.0.13",
"@cspell/dict-fa-ir": "^2.0.0",
"@cspell/dict-fr-fr": "^2.0.1",
Expand Down

0 comments on commit 64c11da

Please sign in to comment.