Skip to content

Commit

Permalink
feat: Support loading local cspell dictionaries (#2955)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Dec 5, 2023
1 parent 4b2ef22 commit d0ed69d
Show file tree
Hide file tree
Showing 19 changed files with 278 additions and 184 deletions.
40 changes: 32 additions & 8 deletions docs/_includes/generated-docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ Default
| [`cSpell.blockCheckingWhenAverageChunkSizeGreaterThan`](#cspellblockcheckingwhenaveragechunksizegreaterthan) | language-overridable | The maximum average length of chunks of text without word breaks. |
| [`cSpell.blockCheckingWhenLineLengthGreaterThan`](#cspellblockcheckingwhenlinelengthgreaterthan) | language-overridable | The maximum line length. |
| [`cSpell.blockCheckingWhenTextChunkSizeGreaterThan`](#cspellblockcheckingwhentextchunksizegreaterthan) | language-overridable | The maximum length of a chunk of text without word breaks. |
| [`cSpell.checkLimit`](#cspellchecklimit) | resource | The limit in K-Characters to be checked in a file. |
| [`cSpell.checkLimit`](#cspellchecklimit) | resource | Set the maximum number of bocks of text to check. Each block is 1024 characters. |
| [`cSpell.spellCheckDelayMs`](#cspellspellcheckdelayms) | application | Delay in ms after a document has changed before checking it for spelling errors. |
| [`cSpell.suggestionsTimeout`](#cspellsuggestionstimeout) | resource | The maximum amount of time in milliseconds to generate suggestions for a word. |

Expand Down Expand Up @@ -1240,7 +1240,8 @@ Scope
: resource

Description
: The limit in K-Characters to be checked in a file.
: Set the maximum number of bocks of text to check.
Each block is 1024 characters.

Default
: _`500`_
Expand Down Expand Up @@ -1287,12 +1288,13 @@ Default

# CSpell

| Setting | Scope | Description |
| ------------------------------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------ |
| [`cSpell.ignoreRegExpList`](#cspellignoreregexplist) | resource | List of regular expressions or Pattern names (defined in `#cSpell.patterns#`) to exclude from… |
| [`cSpell.includeRegExpList`](#cspellincluderegexplist) | resource | List of regular expression patterns or defined pattern names to match for spell checking. |
| [`cSpell.overrides`](#cspelloverrides) | resource | Overrides are used to apply settings for specific files in your project. |
| [`cSpell.patterns`](#cspellpatterns) | resource | Defines a list of patterns that can be used with the `#cSpell.ignoreRegExpList#` and `#cSpell.includeRegExpList#`|
| Setting | Scope | Description |
| ---------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
| [`cSpell.ignoreRegExpList`](#cspellignoreregexplist) | resource | List of regular expressions or Pattern names (defined in `#cSpell.patterns#`) to exclude from… |
| [`cSpell.includeRegExpList`](#cspellincluderegexplist) | resource | List of regular expression patterns or defined pattern names to match for spell checking. |
| [`cSpell.overrides`](#cspelloverrides) | resource | Overrides are used to apply settings for specific files in your project. |
| [`cSpell.patterns`](#cspellpatterns) | resource | Defines a list of patterns that can be used with the `#cSpell.ignoreRegExpList#` and `#cSpell.includeRegExpList#`|
| [`cSpell.useLocallyInstalledCSpellDictionaries`](#cspelluselocallyinstalledcspelldictionaries) | resource | Search for `@cspell/cspell-bundled-dicts` in the workspace folder and use it if found. |

## Definitions

Expand Down Expand Up @@ -1420,6 +1422,28 @@ Default

---

### `cSpell.useLocallyInstalledCSpellDictionaries`

Name
: `cSpell.useLocallyInstalledCSpellDictionaries`

Type
: boolean

Scope
: resource

Description
: Search for `@cspell/cspell-bundled-dicts` in the workspace folder and use it if found.

Default
: _`true`_

Version
: 4.0.0

---

# Appearance

| Setting | Scope | Description |
Expand Down
Loading

0 comments on commit d0ed69d

Please sign in to comment.