Skip to main content

Interface: DictionaryDefinitionInlineIgnoreWords

Defined in: cspell-types/dist/index.d.mts:838

Extends

  • DictionaryDefinitionInlineBase.Required<Pick<InlineDictionary, "ignoreWords">>

Properties

description?

optional description: string

Defined in: cspell-types/dist/index.d.mts:691

Optional description of the contents / purpose of the dictionary.

Inherited from

DictionaryDefinitionInlineBase.description


file?

optional file: undefined

Defined in: cspell-types/dist/index.d.mts:800

Not used

Hide

Inherited from

DictionaryDefinitionInlineBase.file


flagWords?

optional flagWords: string[]

Defined in: cspell-types/dist/index.d.mts:652

List of words to always be considered incorrect. Words found in flagWords override words.

Format of flagWords

  • single word entry - word
  • with suggestions - word:suggestion or word->suggestion, suggestions

Example:

"flagWords": [
"color: colour",
"incase: in case, encase",
"canot->cannot",
"cancelled->canceled"
]

Inherited from

DictionaryDefinitionInlineBase.flagWords


ignoreForbiddenWords?

optional ignoreForbiddenWords: undefined

Defined in: cspell-types/dist/index.d.mts:815

Not used

Hide

Inherited from

DictionaryDefinitionInlineBase.ignoreForbiddenWords


ignoreWords

ignoreWords: string[]

Defined in: cspell-types/dist/index.d.mts:839

List of words to be ignored. An ignored word will not show up as an error, even if it is also in the flagWords.

Overrides

DictionaryDefinitionInlineBase.ignoreWords


name

name: string

Defined in: cspell-types/dist/index.d.mts:687

This is the name of a dictionary.

Name Format:

  • Must contain at least 1 number or letter.
  • Spaces are allowed.
  • Leading and trailing space will be removed.
  • Names ARE case-sensitive.
  • Must not contain *, !, ;, ,, {, }, [, ], ~.

Inherited from

DictionaryDefinitionInlineBase.name


noSuggest?

optional noSuggest: undefined

Defined in: cspell-types/dist/index.d.mts:810

Use ignoreWords instead.

Hide

Inherited from

DictionaryDefinitionInlineBase.noSuggest


path?

optional path: undefined

Defined in: cspell-types/dist/index.d.mts:795

Not used

Hide

Inherited from

DictionaryDefinitionInlineBase.path


repMap?

optional repMap: undefined

Defined in: cspell-types/dist/index.d.mts:824

Hide

Inherited from

DictionaryDefinitionInlineBase.repMap


suggestWords?

optional suggestWords: string[]

Defined in: cspell-types/dist/index.d.mts:671

A list of suggested replacements for words. Suggested words provide a way to make preferred suggestions on word replacements. To hint at a preferred change, but not to require it.

Format of suggestWords

  • Single suggestion (possible auto fix)
    • word: suggestion
    • word->suggestion
  • Multiple suggestions (not auto fixable)
    • word: first, second, third
    • word->first, second, third

Inherited from

DictionaryDefinitionInlineBase.suggestWords


supportNonStrictSearches?

optional supportNonStrictSearches: boolean

Defined in: cspell-types/dist/index.d.mts:738

Strip case and accents to allow for case insensitive searches and words without accents.

Note: this setting only applies to word lists. It has no-impact on trie dictionaries.

Default

true

Inherited from

DictionaryDefinitionInlineBase.supportNonStrictSearches


type?

optional type: undefined

Defined in: cspell-types/dist/index.d.mts:805

Not used

Hide

Inherited from

DictionaryDefinitionInlineBase.type


useCompounds?

optional useCompounds: undefined

Defined in: cspell-types/dist/index.d.mts:820

Not used

Hide

Inherited from

DictionaryDefinitionInlineBase.useCompounds


words?

optional words: string[]

Defined in: cspell-types/dist/index.d.mts:634

List of words to be considered correct.

Inherited from

DictionaryDefinitionInlineBase.words