Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/streetsidesoftware/cspell
/ functions
Functions
5,273 in github.com/streetsidesoftware/cspell
⨍
Functions
5,273
◇
Types & classes
1,525
↓ 11 callers
Function
oc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-io/src/VirtualFS/VirtualFs.test.ts:16
↓ 11 callers
Function
oc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.test.ts:12
↓ 11 callers
Function
opts
(opts: Partial<SpellingDictionaryOptions> = {})
packages/cspell-lib/src/lib/textValidation/textValidator.test.ts:534
↓ 11 callers
Function
parseAffFileToAff
(affFile: string, trace = false)
packages/hunspell-reader/src/aff.test.ts:265
↓ 11 callers
Function
parseDictionary
(text: string | Iterable<string>, options?: Partial<ParseDictionaryOptions>)
packages/cspell-trie-lib/src/lib/SimpleDictionaryParser.ts:478
↓ 11 callers
Function
pathTemp
(...parts: string[])
packages/cspell-tools/src/app.test.ts:37
↓ 11 callers
Method
sleep
(ms: number)
packages/rpc/src/clientServer.test.ts:181
↓ 11 callers
Function
streamSourceWordsFromFile
( filename: string, options: SourceReaderOptions, )
packages/cspell-tools/src/compiler/streamSourceWordsFromFile.ts:4
↓ 11 callers
Function
writeFile
(filePath: string, data: string | Uint8Array)
packages/cspell-tools/src/util/writeFile.ts:17
↓ 10 callers
Method
addListener
* Sets a function to handle the 'close' event.
packages/rpc/src/messagePort.ts:11
↓ 10 callers
Method
append
(i: Iterable<T>)
packages/cspell-lib/src/lib/util/PairingHeap.ts:30
↓ 10 callers
Function
arrayBufferViewToBuffer
(data: ArrayBufferView)
packages/cspell-io/src/common/arrayBuffers.ts:22
↓ 10 callers
Method
checkDocument
* Check a Document for Validation Issues. * * Note: The validator must be prepared before calling this method. * @param forceCheck - fo
packages/cspell-lib/src/lib/textValidation/docValidator.ts:356
↓ 10 callers
Function
clean
(src: T)
packages/cspell-lib/src/lib/util/util.ts:27
↓ 10 callers
Function
comp
(...parts: Partial<CompileCommonAppOptions>[])
packages/cspell-tools/src/compiler/createCompileRequest.test.ts:27
↓ 10 callers
Function
createReader
(filename: string, options: ReaderOptions)
packages/cspell-tools/src/compiler/Reader.ts:30
↓ 10 callers
Function
createTextToUtf8Cursor
(text: string, offset: number = 0)
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8Cursor.ts:87
↓ 10 callers
Function
findNode
(node: TrieNode, word: string)
packages/cspell-trie-lib/src/lib/TrieNode/trie-util.ts:89
↓ 10 callers
Function
gN
(glob: string, root: string, rawGlob: string, rawRoot: string)
packages/cspell-glob/src/globHelper.test.ts:435
↓ 10 callers
Method
getCachedLintResults
* Retrieve cached lint results for a given file name, if present in the cache.
packages/cspell/src/util/cache/CSpellLintResultCache.ts:7
↓ 10 callers
Method
getDataElement
* Get the Element information by name * @param name - name of the field * @returns DataElementWithRef
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:759
↓ 10 callers
Method
getMatchingRules
(flags: string)
packages/hunspell-reader/src/aff.ts:124
↓ 10 callers
Function
getSettings
(text: string, languageId: string)
packages/cspell-lib/src/lib/textValidation/validator.test.ts:251
↓ 10 callers
Method
getText
* Extract the text of the file. * @param encoding - optional encoding to use when decoding the content. * by default it uses the encoding
packages/cspell-io/src/models/FileResource.ts:57
↓ 10 callers
Function
getTrie
()
packages/cspell-trie-lib/src/lib/suggestions/suggest-en.test.ts:18
↓ 10 callers
Method
has
(word: string)
packages/cspell-lib/src/lib/textValidation/isWordValid.ts:4
↓ 10 callers
Method
isAbsolute
(p: string)
packages/cspell-gitignore/src/helpers.ts:33
↓ 10 callers
Function
isAsyncIterable
(i: AnyIterable<T>)
packages/cspell-pipe/src/helpers/util.ts:12
↓ 10 callers
Method
isIgnored
(file: string | URL)
packages/cspell-gitignore/src/GitIgnore.ts:39
↓ 10 callers
Function
loadDoc
(filename: string)
packages/cspell-lib/src/lib/textValidation/docValidator.test.ts:387
↓ 10 callers
Function
makeTransformer
(subs: SubstitutionInfo['substitutions'] | string, info: SubstitutionInfo = subInfo)
packages/cspell-lib/src/lib/Transform/SourceMap.test.ts:173
↓ 10 callers
Function
mapDictionaryInformationToWeightMap
(dictInfo: DictionaryInformation)
packages/cspell-trie-lib/src/lib/mappers/mapDictionaryInfoToWeightMap.ts:33
↓ 10 callers
Function
oc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-io/src/CSpellIONode.test.ts:12
↓ 10 callers
Function
oc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-lib/src/lib/textValidation/lineValidatorFactory.test.ts:7
↓ 10 callers
Function
oc
(...params: Parameters<typeof expect.objectContaining>)
packages/cspell-lib/src/lib/textValidation/docValidator.test.ts:24
↓ 10 callers
Function
p
Helper for function for building expected GlobPatterns
packages/cspell-glob/src/GlobMatcher.test.ts:778
↓ 10 callers
Function
pTestFixtures
(...parts: string[])
packages/cspell-lib/src/lib/util/Uri.test.ts:177
↓ 10 callers
Function
parse
(uri: string)
packages/cspell-lib/src/lib/util/Uri.ts:46
↓ 10 callers
Function
readTrieFromConfig
(name: string)
packages/cspell-trie-lib/src/test/dictionaries.test.helper.ts:18
↓ 10 callers
Function
spellCheckDocument
( document: Document | DocumentWithText, options: SpellCheckFileOptions, settingsOrConfigFile: CSp
packages/cspell-lib/src/lib/spellCheckFile.ts:112
↓ 10 callers
Function
stringify
(obj: object)
packages/cspell-lib/src/lib/Settings/GlobalSettings.test.ts:71
↓ 10 callers
Function
sw
(word: string, cost: number, s: Partial<SuggestedWord> = {})
packages/cspell/src/emitters/suggestionsEmitter.test.ts:35
↓ 10 callers
Function
test
(name, fn)
test-packages/cspell-types/test-cspell-types-esbuild/test-bin.mjs:11
↓ 10 callers
Method
toArray
()
packages/cspell-trie-lib/src/lib/utils/secondChanceCache.ts:60
↓ 10 callers
Function
toInternalSettings
(settings?: CSpellSettingsI | CSpellSettingsWSTO)
packages/cspell-lib/src/lib/Settings/CSpellSettingsServer.ts:291
↓ 10 callers
Function
wait
(ms: number)
packages/cspell-performance-monitor/src/performance.test.ts:134
↓ 9 callers
Method
addWords
(wordsToAdd: string[])
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:56
↓ 9 callers
Function
co
( cache?: boolean, cacheLocation?: string, cacheStrategy?: CacheOptions['cacheStrategy'], cach
packages/cspell/src/util/cache/createCache.test.ts:102
↓ 9 callers
Function
createClientServerPair
(api: TApi)
packages/rpc/src/clientServer.test.ts:206
↓ 9 callers
Function
createDictionaryReferenceCollection
( dictionaries: DictionaryReference[], )
packages/cspell-lib/src/lib/Settings/DictionaryReferenceCollection.ts:19
↓ 9 callers
Function
createSuggestDictionary
( entries: readonly string[] | TyposDef | Iterable<TypoEntry>, name: string, source: string, )
packages/cspell-dictionary/src/SpellingDictionary/SuggestDictionary.ts:140
↓ 9 callers
Function
createTrieBlob
( words: readonly string[], options?: PartialTrieInfo, buildOptions?: BuildOptions, )
packages/cspell-trie-lib/src/lib/TrieBlob/createTrieBlob.ts:9
↓ 9 callers
Function
cvtTrieCharacteristicsToFlags
(characteristics: Partial<TrieCharacteristics>)
packages/cspell-trie-lib/src/lib/ITrieNode/TrieInfo.ts:183
↓ 9 callers
Function
cvtTrieInfoToFlags
(info: Partial<TrieInfo>)
packages/cspell-trie-lib/src/lib/ITrieNode/TrieInfo.ts:121
↓ 9 callers
Function
cwdURL
()
packages/cspell-lib/src/lib/util/url.ts:34
↓ 9 callers
Function
decode
(data: TArrayBufferView, encoding?: BufferEncodingExt)
packages/cspell-io/src/common/encode-decode.ts:63
↓ 9 callers
Function
distanceAStarWeightedEx
(wordA: string, wordB: string, map: WeightCostCalculator, cost = 100)
packages/cspell-trie-lib/src/lib/distance/distanceAStarWeighted.ts:31
↓ 9 callers
Function
encodeTextToUtf8
(text: string)
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8.ts:344
↓ 9 callers
Method
end
()
packages/cspell-lib/api/api.d.ts:521
↓ 9 callers
Function
envToTemplateVars
(env: Record<string, string | undefined>)
packages/cspell-lib/src/lib/util/templates.ts:27
↓ 9 callers
Function
findUp
( name: string | string[] | FindUpPredicate, options: FindUpOptions = {}, )
packages/cspell-lib/src/lib/util/findUp.ts:13
↓ 9 callers
Function
findUpFromUrl
( name: string | string[] | FindUpPredicate, from: URL, options: FindUpURLOptions, )
packages/cspell-io/src/VirtualFS/findUpFromUrl.ts:11
↓ 9 callers
Function
findUpFromUrl
( name: string | string[] | FindUpPredicate, from: URL, options: FindUpURLOptions = {}, )
packages/cspell-lib/src/lib/util/findUpFromUrl.ts:16
↓ 9 callers
Function
fn
(d: CsvRecord)
tools/perf-chart/src/perfChartMD.ts:92
↓ 9 callers
Function
formatExResult
(ex: ExResult | undefined)
packages/cspell-trie-lib/src/lib/distance/formatResultEx.ts:27
↓ 9 callers
Function
frFound
(found: string | false, r: PartialFindFullResult = {})
packages/cspell-trie-lib/src/lib/TrieNode/find.dutch.test.ts:230
↓ 9 callers
Method
getCapabilities
* Get the capabilities for a URL. * The capabilities can be more restrictive than the general capabilities of the provider. * @param url - t
packages/cspell-io/src/VirtualFS/VFileSystem.ts:68
↓ 9 callers
Function
getGlobalSettingsAsync
()
packages/cspell-lib/src/lib/Settings/Controller/configLoader/defaultConfigLoader.ts:78
↓ 9 callers
Method
getPreferredSuggestions
(word: string)
packages/cspell-dictionary/src/SpellingDictionary/CachingDictionary.ts:36
↓ 9 callers
Function
getSpellingDictionaryCollection
(options?: WithIgnoreWords)
packages/cspell-lib/src/lib/textValidation/textValidator.test.ts:422
↓ 9 callers
Function
getTestApi
()
packages/rpc/src/clientServer.test.ts:185
↓ 9 callers
Method
getText
()
packages/cspell-types/src/IO.ts:3
↓ 9 callers
Method
getUint32
* Get a Uint32 from the data. * @param name - name of the Uint32 field * @returns number value
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:619
↓ 9 callers
Method
hasChildren
(ref: NodeRef)
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobIMethods.ts:19
↓ 9 callers
Function
iTrieToStructuredStringLines
(trie: ITrie, withId: boolean = true)
packages/cspell-trie-lib/src/lib/ITrie.ts:514
↓ 9 callers
Function
importTrieV3AsTrieBlob
(srcLines: string[] | Iterable<string> | string)
packages/cspell-trie-lib/src/lib/io/importV3FastBlob.ts:13
↓ 9 callers
Function
importTrieV3WithBuilder
( builder: TrieBuilder<T>, srcLines: string[] | Iterable<string> | string, )
packages/cspell-trie-lib/src/lib/io/importV3.ts:29
↓ 9 callers
Function
inject
(template: TemplateStringsArray, ...values: unknown[])
packages/cspell-trie-lib/src/lib/utils/unindent.ts:4
↓ 9 callers
Method
insert
(word: string)
packages/cspell-trie-lib/src/lib/trie.ts:253
↓ 9 callers
Method
insertChar
Insert a character in the current node.
packages/cspell-trie-lib/src/lib/Builder/BuilderCursor.ts:3
↓ 9 callers
Function
isServiceResponseSuccess
(res: ServiceResponseBase<T>)
packages/cspell-service-bus/src/request.ts:58
↓ 9 callers
Function
log
(...args: any[])
packages/cspell-lib/src/lib/util/logger.ts:29
↓ 9 callers
Method
markEOW
Mark the current node as End of Word
packages/cspell-trie-lib/src/lib/Builder/BuilderCursor.ts:5
↓ 9 callers
Function
mock_getRawGlobalSettings_mockReturnValue
(settings: CSpellSettingsWST)
packages/cspell-lib/src/lib/Settings/link.test.ts:240
↓ 9 callers
Function
opAppend
(...iterablesToAppend: Iterable<T>[])
packages/cspell-pipe/src/operators/append.ts:38
↓ 9 callers
Function
opts
(opts: Partial<SpellingDictionaryOptions> = {})
packages/cspell-dictionary/src/SpellingDictionary/SpellingDictionary.test.ts:267
↓ 9 callers
Function
prefetchIterable
(iterable: Iterable<T>, size: number)
packages/cspell/src/util/prefetch.ts:3
↓ 9 callers
Method
readFileSync
* Read a file in Sync mode. * Note: `http` requests will fail. * @param urlOrFilename - uri of the file to read * @param encoding - opt
packages/cspell-io/src/CSpellIO.ts:28
↓ 9 callers
Function
reduce
( iter: Iterable<T> | AsyncIterable<T>, reduceFn: (prev: T, curr: T) => T, initialValue?: T, )
packages/cspell-pipe/src/reduce.ts:46
↓ 9 callers
Function
relPathTemp
(...parts: string[])
packages/cspell-tools/src/app.test.ts:33
↓ 9 callers
Method
resolveFile
* Resolve filename to absolute paths. * - Replaces `${env:NAME}` with the value of the environment variable `NAME`. * - Replaces `~` with th
packages/cspell-lib/src/lib/util/resolveFile.ts:61
↓ 9 callers
Function
resolveRelativeTo
( filename: string | URL, relativeTo: string | URL, templateReplacements: Record<string, string> =
packages/cspell-lib/src/lib/util/resolveFile.ts:329
↓ 9 callers
Function
sampleWords
()
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.test.ts:352
↓ 9 callers
Method
seqAffWords
* create an iterable sequence of the words in the dictionary. * * @param tapPreApplyRules -- optional function to be called before rules are
packages/hunspell-reader/src/IterableHunspellReaderLegacy.ts:86
↓ 9 callers
Function
tableToLines
(table: Table, deliminator?: string)
packages/cspell/src/util/table.ts:71
↓ 9 callers
Function
takeFrom
(iter: Iterator<T>, num: number)
packages/cspell/src/util/prefetch.test.ts:159
↓ 9 callers
Function
u
(url: string, baseURL = rootURL)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configSearch.test.ts:145
↓ 9 callers
Function
uh
(url: string | URL, ref?: string | URL)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.test.ts:835
↓ 9 callers
Function
uriToFilePath
(uri: DocumentUri)
packages/cspell-lib/src/lib/util/Uri.ts:30
↓ 9 callers
Method
warn
(text: string)
packages/cspell-trie/src/app.test.ts:73
← previous
next →
301–400 of 5,273, ranked by callers