MCPcopy Create free account

hub / github.com/streetsidesoftware/cspell / functions

Functions5,273 in github.com/streetsidesoftware/cspell

↓ 9 callersMethodwriteFile
* Write a file * @param file - the file to write
packages/cspell-io/src/VirtualFS/VFileSystem.ts:51
↓ 8 callersFunctionac
(...params: Parameters<typeof expect.arrayContaining>)
packages/cspell-lib/src/lib/suggestions.test.ts:10
↓ 8 callersFunctionassert
(condition: unknown, message = 'Assert Failed')
packages/cspell-dictionary/src/SpellingDictionary/Typos/util.ts:126
↓ 8 callersMethodassertValid
(cache: AutoResolveLRUCache<T, V>)
packages/cspell-lib/src/lib/util/AutoResolveLRUCache.ts:136
↓ 8 callersFunctionbasename
(path: string)
packages/cspell-io/src/node/file/url.ts:32
↓ 8 callersFunctioncalcTextInclusionRanges
(text: string, options: IncludeExcludeOptions)
packages/cspell-lib/src/lib/textValidation/textValidator.ts:47
↓ 8 callersFunctioncalculateRangeInSrc
(srcMap: SourceMap | undefined, rangeOrigin: Range)
packages/cspell-lib/src/lib/Transform/TextMap.ts:53
↓ 8 callersMethodcheckText
* Check a range of text for validation issues. * @param range - the range of text to check. * @param _text - the text to check. If not given
packages/cspell-lib/src/lib/textValidation/docValidator.ts:281
↓ 8 callersFunctioncompareBy
(extract: CompareArg<T>, ...extractors: CompareArg<T>[])
packages/cspell-lib/src/lib/util/Comparable.ts:14
↓ 8 callersFunctioncreateSourceReader
(filename: string, options: SourceReaderOptions)
packages/cspell-tools/src/compiler/SourceReader.ts:40
↓ 8 callersFunctioncreateTextDocument
({ uri, content, languageId, locale, version, }: CreateTextDocumentParams)
packages/cspell-lib/src/lib/Models/TextDocument.ts:206
↓ 8 callersFunctioncreateTrieBlobFromTrieRoot
(trie: TrieRoot, buildOptions?: BuildOptions)
packages/cspell-trie-lib/src/lib/TrieBlob/createTrieBlob.ts:21
↓ 8 callersFunctionexpectError
(err: string | Error)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:62
↓ 8 callersMethodfindWord
(word: string, options?: FindWordOptionsRO)
packages/cspell-trie-lib/api/api.d.ts:505
↓ 8 callersFunctionfork
(iterable: Iterable<T>)
packages/cspell-pipe/src/helpers/fork.ts:8
↓ 8 callersMethodfromITrieRoot
* Create a TrieBlob from a TrieRoot. * * @param root - root node * @param buildOptions - optional build options * @returns TrieBlo
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.ts:487
↓ 8 callersMethodgetApi
* Get the API for the given method names. * * This is useful passing the API to other parts of the code that do not need to know about the R
packages/rpc/src/client.ts:305
↓ 8 callersMethodgetApi
()
packages/cspell-lib/src/cspell-rpc/client.ts:19
↓ 8 callersMethodgetField
(name: string)
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:236
↓ 8 callersFunctiongetSources
(settings: CSpellSettingsWSTO)
packages/cspell-lib/src/lib/Settings/CSpellSettingsServer.ts:332
↓ 8 callersFunctiongetVirtualFS
()
packages/cspell-lib/src/lib/fileSystem.ts:7
↓ 8 callersFunctiongetYamlNode
(yamlDoc: YamlDocument | YAMLMap | YAMLSeq, key: unknown | unknown[])
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:379
↓ 8 callersFunctioninDocDict
(dict: Partial<DictionaryDefinitionInline>, dictionaries: string[] = [])
packages/cspell-lib/src/lib/Settings/InDocSettings.test.ts:203
↓ 8 callersMethodintersectionScore
(m: FeatureMap)
packages/cspell-lib/src/lib/SpellingDictionary/SuggestExperimental/helpers.ts:64
↓ 8 callersFunctionisCircular
(root: TrieNode)
packages/cspell-trie-lib/src/lib/TrieNode/trie-util.ts:210
↓ 8 callersFunctionnormalizeGrammar
(grammar: GrammarDef)
packages/cspell-grammar/src/parser/grammarNormalizer.ts:34
↓ 8 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-grammar/src/parser/matchResult.test.ts:5
↓ 8 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-io/src/node/file/stat.test.ts:7
↓ 8 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-lib/src/lib/SpellingDictionary/DictionaryController/DictionaryLoader.test.ts:28
↓ 8 callersFunctionopts
( numSuggestions: number, filter?: SuggestionCollectorOptions['filter'], changeLimit?: number,
packages/cspell-trie-lib/src/lib/suggestions/suggest-en.test.ts:210
↓ 8 callersFunctionp
(root: string, p?: PathInterface | undefined)
packages/cspell-glob/src/globHelper.test.ts:525
↓ 8 callersFunctionpURL
(path: string, rel = publicURL)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:650
↓ 8 callersFunctionreadFile
(filename: string)
packages/cspell-tools/src/compiler/readers/readTextFile.ts:14
↓ 8 callersFunctionreadTrieBlobFromConfig
(pathOrPackage: string, dictionaryName?: string)
packages/cspell-trie-lib/src/test/dictionaries.test.helper.ts:35
↓ 8 callersFunctionreplaceTemplate
(template: string, replacements: Record<string, string | undefined>)
packages/cspell-lib/src/lib/util/templates.ts:1
↓ 8 callersFunctionsURL
(pathname: string)
packages/cspell-io/src/VirtualFS/redirectProvider.test.ts:182
↓ 8 callersMethodset
(value: T)
packages/cspell-config-lib/src/UpdateConfig/Commented.ts:16
↓ 8 callersMethodsetComment
(_field: keyof CSpellSettings, _comment: string, _inline?: boolean)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileToml.ts:29
↓ 8 callersMethodsetPtrUint32Array
* Append the data and set the pointer to it. * The Uint32Array will be converted to the proper endianness if necessary. * @param name - nam
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:435
↓ 8 callersFunctionsm
(s: string | RegExp)
packages/cspell-lib/src/lib/util/resolveFile.test.ts:49
↓ 8 callersFunctiontoError
(e: unknown)
packages/cspell/src/util/errors.ts:38
↓ 8 callersMethodtoFileURL
* Convert a string to a File URL * @param urlOrFilename - string or URL to convert. * @param relativeTo - optional
packages/cspell-io/src/CSpellIO.ts:77
↓ 8 callersFunctiontoPipeFn
(syncFn: PipeFnSync<T, U>, asyncFn: PipeFnAsync<T, U>)
packages/cspell-pipe/src/helpers/util.ts:3
↓ 8 callersFunctionto_roman
(number)
packages/cspell/samples/sample.py:35
↓ 8 callersFunctionto_roman
(number)
packages/cspell/samples/src/sample.py:35
↓ 8 callersFunctionto_roman
(number)
packages/cspell-lib/samples/src/sample.py:41
↓ 8 callersFunctiontraceWord
( word: string, dictCollection: SpellingDictionaryCollection, config: TraceOptions, )
packages/cspell-lib/src/lib/textValidation/traceWord.ts:59
↓ 8 callersFunctionu
(filename: string)
packages/cspell-lib/src/lib/spellCheckFile.test.ts:65
↓ 8 callersMethodwhen
(word: string)
packages/cspell-trie-lib/src/lib/afx/afx.ts:210
↓ 7 callersMethodabort
(reason?: unknown)
packages/rpc/src/client.ts:225
↓ 7 callersMethodaddUint32ArrayPtr
* A pointer to a uint32 array, it has two parts, the offset and the length. * @param name - name of pointer * @param description - the descr
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:100
↓ 7 callersFunctionasyncIterableToArray
(iter: Iterable<T> | AsyncIterable<T>)
packages/cspell-lib/src/lib/util/util.ts:62
↓ 7 callersFunctionbox
(value: T)
packages/cspell-strong-weak-map/src/StrongWeakMap.test.ts:144
↓ 7 callersFunctionc
(word: string, cost: number)
packages/cspell-dictionary/src/SpellingDictionary/createSpellingDictionary.test.ts:147
↓ 7 callersMethodcall
* Call a method on the RPC server. * @param method - The method name. * @param params - The method parameters. * @param options - Call
packages/rpc/src/client.ts:292
↓ 7 callersMethodclear
()
packages/cspell/src/app.test.ts:147
↓ 7 callersMethodclear
()
packages/cspell-trie-lib/src/lib/utils/secondChanceCache.ts:44
↓ 7 callersMethodclose
* Close the underlying port.
packages/rpc/src/MessagePortEvents.ts:81
↓ 7 callersFunctioncombineSamplesIntoDictionary
(...samples: string[])
packages/cspell-trie-lib/src/lib/ITrie.test.ts:167
↓ 7 callersFunctioncompress
(buf: string | Uint8Array | Buffer, os?: OSFlags)
packages/cspell-tools/src/gzip/compressFiles.ts:32
↓ 7 callersMethodconcat
(a: string, b: string)
packages/rpc/src/protocol.test.ts:10
↓ 7 callersFunctionconfigToRawSettings
(cfgFile: CSpellConfigFile | undefined)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configToRawSettings.ts:15
↓ 7 callersFunctionconsoleOutput
()
packages/cspell-tools/src/test/console.ts:21
↓ 7 callersFunctioncreateConfigLoader
(fs?: VFileSystem)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.ts:775
↓ 7 callersFunctioncreateVFS
(publicURL: URL, pathnameOrURL: string | URL)
packages/cspell-io/src/VirtualFS/redirectProvider.test.ts:186
↓ 7 callersMethoddecodeBin
(blob: U8Array)
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlob.ts:337
↓ 7 callersFunctiondecodeFile
(file: FileResource, options?: Partial<ParseDictionaryOptions>)
packages/cspell-trie-lib/src/lib/decodeTrie.ts:30
↓ 7 callersFunctiondecompress
(buf: Uint8Array | Buffer, encoding?: 'utf8')
packages/cspell-tools/src/gzip/compressFiles.ts:70
↓ 7 callersFunctiondefSwap
(map: string, swap: number, ...opts: Partial<SuggestionCostMapDef>[])
packages/cspell-trie-lib/src/lib/distance/weightedMaps.test.ts:242
↓ 7 callersFunctiondetermineTextDocumentSettings
( doc: TextDocument | TextDocumentRef, settings: CSpellUserSettings, )
packages/cspell-lib/src/lib/textValidation/determineTextDocumentSettings.ts:25
↓ 7 callersFunctiondi
(info: DictionaryInformation)
packages/cspell-trie-lib/src/lib/mappers/mapDictionaryInfo.test.ts:17
↓ 7 callersFunctiondistanceAStarWeighted
(wordA: string, wordB: string, map: WeightMap, cost = 100)
packages/cspell-trie-lib/src/lib/distance/distanceAStarWeighted.ts:11
↓ 7 callersFunctionemit
(s: string)
packages/cspell-trie-lib/src/lib/io/importExportV4.ts:132
↓ 7 callersFunctionemit
(s: string)
packages/cspell-trie-lib/src/lib/io/importExportV3.ts:87
↓ 7 callersFunctionencodeString
(str: string, encoding?: BufferEncodingExt, bom?: boolean)
packages/cspell-io/src/common/encode-decode.ts:77
↓ 7 callersFunctionf
(...parts: string[])
packages/cspell-tools/src/build.test.ts:69
↓ 7 callersFunctiongenIssue
(word: string)
packages/cspell/src/cli-reporter.test.ts:54
↓ 7 callersMethodgetDictionaryErrors
()
packages/cspell-lib/src/lib/textValidation/docValidator.ts:521
↓ 7 callersMethodgetPtrUint32Array
* Gets Uint32Array data from a pointer field. * Note: The returned Uint32Array may be a view of the underlying data. * If the endianness doe
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:680
↓ 7 callersFunctionindent
(str: string, padding: string, firstLinePadding: string = '')
packages/cspell/src/util/unindent.ts:8
↓ 7 callersMethodinsert
(word: string | Iterable<string> | string[])
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.ts:60
↓ 7 callersMethodinsertWords
* Insert multiple words. Performance is (~10%) better if the words are sorted. * @param words - words to insert * @returns this
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.ts:238
↓ 7 callersFunctionisCfgArrayNode
(node: CfgArrayNode<T> | CfgNodeBase<unknown> | undefined)
packages/cspell-config-lib/src/UpdateConfig/CfgTree.ts:95
↓ 7 callersMethodisForbiddenWord
* Determine if a word is in the forbidden word list. * @param word the word to lookup.
packages/cspell-trie-lib/api/api.d.ts:510
↓ 7 callersFunctionisGZipped
(data: TypedArrayView | string)
packages/cspell-io/src/common/encode-decode.ts:146
↓ 7 callersFunctionisRPCRequest
(message: RPCMessage)
packages/rpc/src/modelsHelpers.ts:94
↓ 7 callersFunctionlevenshteinDistance
(a: string, b: string)
packages/cspell-trie-lib/src/lib/distance/levenshtein.ts:12
↓ 7 callersMethodmergeConfigFileWithImports
* Resolve imports and merge. * @param cfgFile - configuration file. * @param pnpSettings - optional settings related to Using Yarn PNP.
packages/cspell-lib/api/api.d.ts:385
↓ 7 callersFunctionmergeListUnique
(left: T[] | undefined, right: T[] | undefined)
packages/cspell-lib/src/lib/Settings/mergeList.ts:18
↓ 7 callersFunctionmergeOptionalWithDefaults
(...options: ROPartialTrieOptions[])
packages/cspell-trie-lib/src/lib/utils/mergeOptionalWithDefaults.ts:12
↓ 7 callersFunctionmockFileSystemProvider
()
packages/cspell-io/src/VirtualFS/VirtualFs.test.ts:310
↓ 7 callersFunctionnfd
(s: string)
packages/cspell-lib/src/lib/util/text.test.ts:412
↓ 7 callersFunctionnormalizeDriveLetter
(path: string)
packages/cspell-lib/src/lib/util/Uri.ts:50
↓ 7 callersFunctionnormalizeGlobToRoot
( glob: Glob, root: string, path: PathInterface, )
packages/cspell-glob/src/globHelper.ts:277
↓ 7 callersFunctionnormalizeOutput
(lines: string[])
packages/cspell/src/app.test.ts:540
↓ 7 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell/src/lint/LintRequest.test.ts:6
↓ 7 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-io/src/node/file/FetchError.test.ts:6
↓ 7 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-config-lib/src/serializers/cspellYaml.test.ts:11
↓ 7 callersFunctionoc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-lib/src/lib/spellCheckFile.test.ts:27
↓ 7 callersMethodonMessage
* Register a handler to be called when a message is received.
packages/rpc/src/MessagePortEvents.ts:44
← previousnext →401–500 of 5,273, ranked by callers