MCPcopy Create free account

hub / github.com/streetsidesoftware/cspell / functions

Functions5,273 in github.com/streetsidesoftware/cspell

↓ 29 callersFunctionmapOffsetToSource
(map: SourceMap | undefined, offset: number)
packages/cspell-lib/src/lib/Transform/TextMap.ts:83
↓ 29 callersFunctionmeasurePerf
(name: string)
packages/cspell-performance-monitor/src/performance.ts:37
↓ 29 callersFunctionopMap
(n: Node)
packages/cspell-trie-lib/src/lib/distance/distanceAStarWeighted.ts:105
↓ 29 callersFunctionresolve
(...parts: string[])
packages/cspell-io/src/test/test.helper.ts:45
↓ 28 callersFunctionopConcatMap
(fn: (v: T) => Iterable<U>)
packages/cspell-pipe/src/operators/concatMap.ts:56
↓ 27 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-lib/src/lib/Settings/InDocSettings.test.ts:11
↓ 27 callersFunctionpp
(root: string)
packages/cspell-glob/src/globHelper.test.ts:45
↓ 27 callersMethodsuggest
(word: string, suggestOptions?: SuggestOptionsRO)
packages/cspell-dictionary/src/SpellingDictionary/CachingDictionary.ts:37
↓ 26 callersMethodaddWord
(word: string)
packages/cspell-trie-lib/src/lib/ITrieNode/TrieInfo.ts:231
↓ 26 callersMethodapplyRulesToDicEntry
* Takes a line from a hunspell.dic file and applies the rules found in the aff file. * For performance reasons, only the `word` field is mapped w
packages/hunspell-reader/src/aff.ts:53
↓ 26 callersFunctionforms
(letters: string)
packages/cspell-trie-lib/src/lib/suggestions/orthography.ts:41
↓ 26 callersMethodgetNode
(prefix: string)
packages/cspell-trie-lib/api/api.d.ts:450
↓ 26 callersFunctionparseDictionaryLines
( lines: Iterable<string> | string, options?: Partial<ParseDictionaryOptions>, )
packages/cspell-trie-lib/src/lib/SimpleDictionaryParser.ts:448
↓ 26 callersMethodpostMessage
* Sends a message to the port. * @param message - anything supported by postMessage
packages/rpc/src/messagePort.ts:6
↓ 26 callersFunctionresolvePathToFixture
(...segments: string[])
packages/cspell-tools/src/test/TestHelper.ts:183
↓ 25 callersFunctiondefRep
(map: string, replace: number, ...opts: Partial<SuggestionCostMapDef>[])
packages/cspell-trie-lib/src/lib/distance/weightedMaps.test.ts:238
↓ 25 callersFunctionparseDictionaryLegacy
(text: string | string[], options?: Partial<ParseDictionaryOptions>)
packages/cspell-trie-lib/src/lib/SimpleDictionaryParser.ts:463
↓ 24 callersFunctioncfg
( filename: string | ImportFileRefWithError | URL, values: CSpellSettingsWithSourceTrace | { __importR
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:983
↓ 24 callersFunctioncheckWords
(dict: { has: (word: string) => boolean }, words: string[], expected = true, totalChecks = 100_000)
packages/cspell-dictionary/src/perf/has.perf.ts:207
↓ 24 callersFunctionfix
* Resolve the path to the fixtures directory for the docValidator tests. * @param fixtureFile - the path to the fixture file, relative to the `docVal
packages/cspell-lib/src/lib/textValidation/docValidator.test.ts:403
↓ 24 callersMethodfromEntries
(entries: Iterable<[Iterable<K>, V]>)
packages/cspell-trie-lib/src/lib/GTrie/GTrie.ts:94
↓ 24 callersFunctionnOpts
(opts: Partial<NormalizeOptions> = {})
packages/cspell-glob/src/globHelper.test.ts:429
↓ 24 callersFunctionnfd
(s: string)
packages/cspell-lib/src/lib/util/textRegex.test.ts:224
↓ 24 callersFunctionopts
(opts: Partial<SpellingDictionaryOptions> = {})
packages/cspell-dictionary/src/SpellingDictionary/SpellingDictionaryCollection.test.ts:530
↓ 24 callersFunctionreadFile
(filename: string | URL, encoding?: BufferEncoding)
packages/cspell-trie-lib/src/test/reader.test.helper.ts:101
↓ 24 callersFunctiontoArray
(asyncIterable: AsyncIterable<T> | Iterable<T> | Iterable<Promise<T>>)
packages/cspell-io/src/async/asyncIterable.ts:5
↓ 23 callersFunctionc
(hc: HunspellCosts = {})
packages/cspell-trie-lib/src/lib/mappers/mapHunspellInformation.test.ts:202
↓ 23 callersFunctiondefIns
(map: string, insDel: number, ...opts: Partial<SuggestionCostMapDef>[])
packages/cspell-trie-lib/src/lib/distance/weightedMaps.test.ts:234
↓ 23 callersMethodfind
A more detailed search for a word, might take longer than `has`
packages/cspell-dictionary/src/SpellingDictionary/SpellingDictionary.ts:124
↓ 23 callersFunctionnfc
(s: string)
packages/cspell-lib/src/lib/util/textRegex.test.ts:220
↓ 23 callersMethodreadFile
(url: URL)
packages/cspell-types/src/IO.ts:8
↓ 23 callersFunctionvalidateText
( text: string, settings: CSpellUserSettings, options: ValidateTextOptions = {}, )
packages/cspell-lib/src/lib/textValidation/validator.ts:20
↓ 22 callersFunctionf
(file: string)
packages/cspell-lib/src/lib/spellCheckFile.test.ts:103
↓ 22 callersMethodreadFile
* Read a file. * @param url - URL to read * @param encoding - optional encoding * @returns A FileResource, the content will not be deco
packages/cspell-io/src/VirtualFS/VFileSystem.ts:39
↓ 22 callersFunctionsplitTov
(t: string)
packages/cspell-lib/src/lib/util/wordSplitter.test.ts:127
↓ 22 callersFunctionsuggest
( root: TrieRoot | TrieRoot[], word: string, options: SuggestionOptionsRO = {}, )
packages/cspell-trie-lib/src/lib/suggestions/suggest.ts:23
↓ 22 callersMethodwriteFile
(file: TextFile)
packages/cspell-config-lib/src/IO.ts:5
↓ 21 callersFunctioncf
(filename: string | URL, settings: CSpellUserSettings)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:955
↓ 21 callersMethodclear
()
packages/cspell-lib/src/lib/util/AutoResolve.ts:79
↓ 21 callersFunctioncreateFlagWordsDictionary
( wordList: readonly string[], name: string, source: string, )
packages/cspell-dictionary/src/SpellingDictionary/FlagWordsDictionary.ts:153
↓ 21 callersMethoderror
(...params: Parameters<FinalizedReporter['error']>)
packages/cspell/src/reporters/LintFileResult.ts:51
↓ 21 callersFunctionrun
()
test-packages/cspell-types/validate-schema/validate-schema.mjs:14
↓ 21 callersFunctiontoFileUrl
(file: string | URL)
packages/cspell-lib/src/lib/util/url.ts:38
↓ 20 callersFunctionargv
(...args: string[])
packages/cspell-tools/src/app.test.ts:41
↓ 20 callersMethoderror
(text: string)
packages/cspell-trie/src/app.test.ts:74
↓ 20 callersFunctionfr
({ found = false, forbidden = undefined, compoundUsed = false, caseMatched = true, }: PartialF
packages/cspell-trie-lib/src/lib/TrieNode/find.dutch.test.ts:211
↓ 20 callersFunctiongetCommander
()
packages/cspell-tools/src/app.test.ts:45
↓ 20 callersMethodgetRoot
()
packages/cspell-trie-lib/api/api.d.ts:449
↓ 20 callersMethodnext
* Get the next byte from the utf8 code, loading a new code if needed. * @returns the next byte or 0 if at the end of the text.
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8Cursor.ts:46
↓ 20 callersMethodparse
(textFile: TextFile)
packages/cspell-config-lib/src/CSpellConfigFileReaderWriter.ts:23
↓ 20 callersFunctiontm
(text: string, range: [number, number], map?: number[])
packages/cspell-lib/src/lib/Transform/TextMap.test.ts:167
↓ 20 callersMethodtransform
(text: string | MappedText)
packages/cspell-lib/src/lib/Transform/SubstitutionTransformer.ts:26
↓ 19 callersFunctionconsoleError
(msg: string)
packages/cspell/src/cli-reporter.ts:239
↓ 19 callersFunctioncreateResponse
( value: T, _req?: R, )
packages/cspell-service-bus/src/request.ts:40
↓ 19 callersFunctioncreateWeightMap
(...defs: SuggestionCostMapDef[])
packages/cspell-trie-lib/src/lib/distance/weightedMaps.ts:84
↓ 19 callersFunctioneg
(e: Partial<GlobPatternNormalized>, path: PathInterface)
packages/cspell-glob/src/globHelper.test.ts:167
↓ 19 callersMethoderror
(message: string)
packages/rpc/src/clientServer.test.ts:182
↓ 19 callersFunctionfrFound
(found: string | false, r: PartialFindFullResult = {})
packages/cspell-trie-lib/src/lib/ITrieNode/find.test.ts:222
↓ 19 callersFunctiong
(glob: string, root?: string)
packages/cspell-glob/src/GlobMatcher.test.ts:366
↓ 19 callersMethodisForbidden
(word: string, ignoreCaseAndAccents?: IgnoreCaseOption)
packages/cspell-dictionary/src/SpellingDictionary/TyposDictionary.ts:28
↓ 19 callersFunctionrp
* Resolve relative to CSpellLib Root
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:900
↓ 19 callersFunctionunindent
(templateOrString: TemplateStringsArray | string, ...values: unknown[])
packages/cspell/src/util/unindent.ts:65
↓ 18 callersFunctionasString
()
packages/hunspell-reader/src/affReader.ts:255
↓ 18 callersMethodclear
()
packages/cspell-lib/src/lib/Settings/mergeCache.ts:25
↓ 18 callersMethodcreateFromWords
(words: Iterable<string>, options?: PartialTrieOptions)
packages/cspell-trie-lib/src/lib/TrieNode/TrieNodeTrie.ts:73
↓ 18 callersMethodfromWordList
( words: readonly string[] | Iterable<string>, options?: PartialTrieInfo, buildOptions
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.ts:391
↓ 18 callersFunctiongp
(pattern: GlobPattern, root?: string, nodePath: PathInterface = Path)
packages/cspell-glob/src/globHelper.test.ts:132
↓ 18 callersMethodhas
(words: string, caseSensitive: boolean)
packages/cspell-tools/src/compiler/WordsCollection.ts:3
↓ 18 callersMethodprepare
()
packages/cspell-lib/src/lib/textValidation/docValidator.ts:134
↓ 18 callersMethodregisterFileSystemProvider
(provider: VFileSystemProvider, ...providers: VFileSystemProvider[])
packages/cspell-io/src/VirtualFS/VirtualFS.ts:16
↓ 18 callersFunctionrpFix
* Create `--root=` argument for a fixture directory.
packages/cspell/src/app.test.ts:75
↓ 18 callersFunctionunindent
(str: TemplateStringsArray | string, ...values: unknown[])
packages/cspell-trie-lib/src/lib/utils/unindent.ts:42
↓ 17 callersFunctionasAffWord
(word: string, rules = '', flags: AffWordFlags = {})
packages/hunspell-reader/src/affLegacy.ts:266
↓ 17 callersFunctioncompare
* * @param {FileTypeDefinition} a * @param {FileTypeDefinition} b
packages/cspell-filetypes/scripts/sortFileTypes.js:16
↓ 17 callersFunctioncreateVirtualFS
(cspellIO?: CSpellIO)
packages/cspell-io/src/VirtualFS/CVirtualFS.ts:165
↓ 17 callersFunctionfindWord
(root: Root, word: string, options?: PartialFindOptions)
packages/cspell-trie-lib/src/lib/TrieNode/find.ts:82
↓ 17 callersFunctionfrFound
(found: string | false, r: PartialFindFullResult = {})
packages/cspell-trie-lib/src/lib/TrieNode/find.test.ts:186
↓ 17 callersFunctionparseCSpellConfigFileYaml
(file: TextFile)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:256
↓ 17 callersFunctionrSrcLib
* Resolve relative to src/lib
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:893
↓ 17 callersMethodreject
(reason?: unknown)
packages/rpc/src/Future.ts:43
↓ 17 callersFunctionsr
(word: string, cost: number, isPreferred?: boolean)
packages/cspell-dictionary/src/SpellingDictionary/SpellingDictionaryCollection.test.ts:374
↓ 17 callersMethodsuggest
* Suggest spellings for `text`. The results are sorted by edit distance with changes near the beginning of a word having a greater impact. * @param
packages/cspell-trie-lib/api/api.d.ts:554
↓ 16 callersMethodadd
(a: number, b: number)
packages/rpc/src/clientServer.test.ts:177
↓ 16 callersFunctionasTextFile
(content: string, url?: string | URL)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.test.ts:569
↓ 16 callersFunctioncco
* CreateCacheSettings
packages/cspell/src/util/cache/createCache.test.ts:81
↓ 16 callersFunctioncheckShasumFile
( filename: string, files: string[] | undefined, root?: string, )
packages/cspell-tools/src/shasum/shasum.ts:38
↓ 16 callersFunctionextractImportErrors
(settings: CSpellSettingsWST)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/extractImportErrors.ts:5
↓ 16 callersFunctiongetDefaultBundledSettingsAsync
()
packages/cspell-lib/src/lib/Settings/DefaultSettings.ts:186
↓ 16 callersFunctionm
(...parts: PartialUri[])
packages/cspell-lib/src/lib/spellCheckFile.test.ts:207
↓ 16 callersFunctionopTake
(count: number)
packages/cspell-pipe/src/operators/take.ts:31
↓ 16 callersFunctionr
(file: string)
packages/cspell-grammar/src/app.test.ts:19
↓ 16 callersMethodreadConfigFile
* Read a cspell configuration file. * @param filenameOrURL - URL, relative path, absolute path, or package name. * @param relativeTo - optional UR
packages/cspell-lib/api/api.d.ts:357
↓ 16 callersFunctionreadSettings
( filename: string | URL, relativeToOrPnP?: PnPSettingsOptional | string | URL, pnpSettings?: PnPS
packages/cspell-lib/src/lib/Settings/Controller/configLoader/readSettings.ts:30
↓ 16 callersFunctionsc
(m: string)
packages/cspell-io/src/CSpellIONode.test.ts:11
↓ 16 callersMethodsearchForConfig
* This is an alias for `searchForConfigFile` and `mergeConfigFileWithImports`. * @param searchFrom the directory / file URL to start searching from.
packages/cspell-lib/api/api.d.ts:366
↓ 16 callersFunctiontoAsyncIterable
(i: Iterable<T> | AsyncIterable<T>)
packages/cspell-pipe/src/helpers/iteratorToIterable.test.ts:98
↓ 15 callersMethodaddString
(name: string, description: string, length: number | string)
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:169
↓ 15 callersFunctioncompare
(a: Set<T>, b: Set<T>)
packages/cspell-lib/src/lib/util/util.ts:93
↓ 15 callersFunctiones
* Expect a Sample File Path * @param file - relative path to sample or absolute path. * @returns as `expect`
packages/cspell-lib/src/lib/spellCheckFile.test.ts:267
↓ 15 callersFunctiongenSuggestions
( root: TrieRoot | TrieRoot[], word: string, options: GenSuggestionOptionsRO = {}, )
packages/cspell-trie-lib/src/lib/suggestions/suggest.ts:35
← previousnext →101–200 of 5,273, ranked by callers