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
↓ 3 callers
Function
setYamlNodeComments
(yamlNode: YamlNode | undefined, comments: NodeComments)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:618
↓ 3 callers
Function
signature
(n: TrieNode)
packages/cspell-trie-lib/src/lib/consolidate.ts:19
↓ 3 callers
Function
sizeToNumber
(size: string)
packages/cspell/src/util/unitNumbers.ts:37
↓ 3 callers
Function
sortMatchRangeArray
(values: MatchRange[])
packages/cspell-lib/src/lib/Transform/TextRange.ts:141
↓ 3 callers
Function
splitCamelCaseWord
(word: string)
packages/cspell-tools/src/compiler/text.ts:12
↓ 3 callers
Function
splitCamelCaseWord
(word: string)
packages/cspell-lib/src/lib/util/text.ts:35
↓ 3 callers
Function
splitMap
(map: string)
packages/cspell-trie-lib/src/lib/mappers/mapToSuggestionCostDef.ts:165
↓ 3 callers
Function
spyOnPort
(port: MessagePortLike)
packages/rpc/src/server.test.ts:126
↓ 3 callers
Function
startTimer
()
packages/cspell-trie-lib/src/lib/utils/timer.ts:9
↓ 3 callers
Method
stopCapture
()
packages/cspell/src/app.test.ts:124
↓ 3 callers
Function
sub
(text: string)
tools/perf-chart/src/perfChartMD.ts:188
↓ 3 callers
Function
sumRecords
(data: CsvRecord[], fn: (d: CsvRecord) => number)
tools/perf-chart/src/calcAllStats.ts:100
↓ 3 callers
Function
swap
(t: T[], i: number, j: number)
packages/cspell-lib/src/lib/util/MinHeapQueue.ts:1
↓ 3 callers
Function
swap16
(data: T)
packages/cspell-io/src/common/arrayBuffers.ts:64
↓ 3 callers
Function
swapBytes
(data: TArrayBufferView)
packages/cspell-io/src/common/arrayBuffers.ts:69
↓ 3 callers
Function
tFix
(...fixtureFile: string[])
packages/cspell-lib/src/lib/textValidation/docValidator.test.ts:411
↓ 3 callers
Function
take
(iterable: Iterable<T>, count: number)
packages/cspell-pipe/src/helpers/fork.test.ts:108
↓ 3 callers
Method
terms
()
packages/cspell-dictionary/src/SpellingDictionary/FlagWordsDictionary.ts:134
↓ 3 callers
Function
test
()
test-packages/cspell/test-cspell/src/index.ts:7
↓ 3 callers
Method
toAffixWord
( source: AffixWordSource | AffixWord, word: string, flags: AffixFlags, rules:
packages/hunspell-reader/src/aff.ts:339
↓ 3 callers
Function
toApplicationError
(e: unknown, message?: string)
packages/cspell/src/util/errors.ts:60
↓ 3 callers
Function
toArray
(iter: AsyncIterable<T> | Iterable<T>)
packages/cspell-io/src/common/transformers.test.ts:56
↓ 3 callers
Function
toAsyncIterator
(i: IterableIterator<T> | Iterable<T>)
packages/cspell-pipe/src/helpers/iteratorToIterable.test.ts:102
↓ 3 callers
Function
toGlobDef
( g: Glob | Glob[] | undefined, root: string | undefined, source: string | undefined, )
packages/cspell-lib/src/lib/Settings/Controller/configLoader/toGlobDef.ts:7
↓ 3 callers
Function
toRange
(letters: string, minLength = 4)
packages/hunspell-reader/src/textUtils.ts:40
↓ 3 callers
Function
to_number
(roman)
packages/cspell/samples/sample.py:65
↓ 3 callers
Function
to_number
(roman)
packages/cspell/samples/src/sample.py:65
↓ 3 callers
Function
to_number
(roman)
packages/cspell-lib/samples/src/sample.py:71
↓ 3 callers
Function
tokenizedLinesToMarkdown
(lines: TokenizedLine[], indentation = '')
packages/cspell-grammar/src/viewer/visualizeAsMD.ts:40
↓ 3 callers
Function
trace
(words: string[], options: TraceOptions)
packages/cspell/src/application.test.ts:278
↓ 3 callers
Function
updateChecksumForFiles
( filename: string, files: string[], options: ReportOptions, )
packages/cspell-tools/src/shasum/shasum.ts:213
↓ 3 callers
Function
updateCostLimit
(maxCost: number | symbol | undefined)
packages/cspell-trie-lib/src/lib/suggestions/suggest.ts:86
↓ 3 callers
Function
updateTextDocument
( doc: TextDocument, edits: TextDocumentContentChangeEvent[], version?: number, )
packages/cspell-lib/src/lib/Models/TextDocument.ts:220
↓ 3 callers
Function
urlBuilder
(path: PathInterface = Path)
packages/cspell-glob/src/globHelper.ts:146
↓ 3 callers
Function
urlFile
(path: string)
packages/cspell-lib/src/lib/util/Uri.test.ts:181
↓ 3 callers
Function
vURLh
(url: string)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configSearch.test.ts:131
↓ 3 callers
Function
validateSettings
(settings: unknown)
packages/cspell-json-reporter/src/utils/validateSettings.ts:18
↓ 3 callers
Function
validationMessage
(msg: string, url: URL)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.ts:742
↓ 3 callers
Method
version
()
packages/cspell-lib/src/lib/Models/TextDocument.ts:113
↓ 3 callers
Function
walk
()
packages/cspell-trie-lib/src/lib/distance/weightedMaps.ts:375
↓ 3 callers
Function
wordToFeatures
(word: string)
packages/cspell-lib/src/lib/SpellingDictionary/SuggestExperimental/helpers.ts:12
↓ 3 callers
Method
wordToUtf8Seq
(word: string)
packages/cspell-trie-lib/src/lib/TrieBlob/CharIndex.ts:40
↓ 3 callers
Function
wordWrapAnsiText
(str: string, maxWidth: number, indent: string = '', sep: RegExp = wrapSep)
packages/cspell/src/util/wrap.ts:10
↓ 3 callers
Function
work
()
packages/cspell-performance-monitor/src/performance.test.ts:33
↓ 3 callers
Function
yesNo
(value: boolean)
packages/cspell/src/lint/lint.ts:368
↓ 2 callers
Method
#addElement
(element: FormatElement)
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:193
↓ 2 callers
Method
#applyRules
(afw: AfxWordAndRules, depth: number)
packages/cspell-trie-lib/src/lib/afx/afx.ts:48
↓ 2 callers
Method
#assertNotReadonly
()
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.ts:387
↓ 2 callers
Method
#canBeCached
(n: TrieNodeEx)
packages/cspell-trie-lib/src/lib/TrieBuilder.ts:96
↓ 2 callers
Method
#createWorker
()
packages/cspell-worker/src/cspellWorkerPool.ts:67
↓ 2 callers
Method
#encodeIntoBuffer
(text: string)
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8Encoder.ts:64
↓ 2 callers
Method
#findTrieNode
(word: string)
packages/cspell-trie-lib/src/lib/TrieNode/trie.ts:83
↓ 2 callers
Method
#fixPair
(pair: Pair)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:233
↓ 2 callers
Method
#getBytesByIndexValue
(value: number)
packages/cspell-trie-lib/src/lib/StringTable/StringTable.ts:76
↓ 2 callers
Method
#getContentsMap
()
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:240
↓ 2 callers
Method
#getEntryOrThrow
(url: UrlOrReference)
packages/cspell-io/src/VirtualFS/MemVfsProvider.ts:95
↓ 2 callers
Method
#getHash
* Given a buffer, calculate md5 hash of its content. * @param buffer buffer to calculate hash on * @return content hash digest
packages/cspell/src/util/cache/file-entry-cache/file-entry-cache.ts:57
↓ 2 callers
Method
#getRuleIndexes
(rules: string)
packages/hunspell-reader/src/aff.ts:398
↓ 2 callers
Method
#insertWord
(word: string)
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlobBuilder.ts:245
↓ 2 callers
Method
#isForbidden
(word: string, _ignoreCaseAndAccents?: boolean)
packages/cspell-dictionary/src/SpellingDictionary/SpellingDictionaryFromTrie.ts:187
↓ 2 callers
Method
#normalizeDirURL
(input: URL | string | undefined)
packages/cspell-lib/src/lib/Settings/Controller/configLoader/configLoader.ts:674
↓ 2 callers
Method
#readConfigFile
(location: string)
packages/cspell-lib/src/lib/Settings/cfgStore.ts:31
↓ 2 callers
Method
#reallocate
()
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8Encoder.ts:31
↓ 2 callers
Method
#sendReadyResponse
(id?: RequestID)
packages/rpc/src/server.ts:129
↓ 2 callers
Method
#storeTransform
(src: TrieNodeEx, s: string, result: TrieNodeEx)
packages/cspell-trie-lib/src/lib/TrieBuilder.ts:139
↓ 2 callers
Method
#toNode
(value: T | YamlNode)
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.ts:229
↓ 2 callers
Method
#walkWords
(rootRef: Ref)
packages/cspell-trie-lib/src/lib/TrieBlob/TrieBlob.ts:236
↓ 2 callers
Method
M
()
packages/cspell/samples/src/sample.go:6
↓ 2 callers
Method
M
()
packages/cspell-lib/samples/src/sample.go:6
↓ 2 callers
Function
URItoUri
(uri: URI)
packages/cspell-lib/src/lib/util/Uri.test.ts:153
↓ 2 callers
Function
__findCompound
()
packages/cspell-trie-lib/src/lib/TrieNode/find.ts:118
↓ 2 callers
Function
__findCompound
()
packages/cspell-trie-lib/src/lib/ITrieNode/find.ts:79
↓ 2 callers
Function
_addPathsToGlobalImports
()
packages/cspell/src/app.test.ts:513
↓ 2 callers
Function
_compare
(a: T, b: T)
packages/cspell-lib/src/lib/util/Comparable.ts:45
↓ 2 callers
Function
_createCommentedNode
(value: T | CommentedNode<T>, comments?: NodeComments)
packages/cspell-config-lib/src/UpdateConfig/Commented.ts:252
↓ 2 callers
Function
_distanceAStarWeightedEx
(wordA: string, wordB: string, map: WeightCostCalculator, cost = 100)
packages/cspell-trie-lib/src/lib/distance/distanceAStarWeighted.ts:61
↓ 2 callers
Function
_escape
(str: string, r: RegExp)
packages/cspell-grammar/src/viewer/escapeMarkdown.ts:22
↓ 2 callers
Method
_findForms
(word: string, ignoreCaseAndAccents: boolean)
packages/cspell-dictionary/src/SpellingDictionary/TyposDictionary.ts:90
↓ 2 callers
Function
_findWordNode
* * @param root Trie root node. root.c contains the compound root and forbidden root. * @param word A pre normalized word use `normalizeWord` or `no
packages/cspell-trie-lib/src/lib/TrieNode/find.ts:113
↓ 2 callers
Function
_findWordNode
* * @param root Trie root node. root.c contains the compound root and forbidden root. * @param word A pre normalized word use `normalizeWord` or `no
packages/cspell-trie-lib/src/lib/ITrieNode/find.ts:69
↓ 2 callers
Method
_getFS
(url: URL)
packages/cspell-io/src/VirtualFS/CVirtualFS.ts:67
↓ 2 callers
Function
_getLanguagesForBasename
(basename: string)
packages/cspell-filetypes/src/filetypes.ts:147
↓ 2 callers
Function
_getLanguagesForExt
(ext: string)
packages/cspell-filetypes/src/filetypes.ts:130
↓ 2 callers
Method
_getPreparations
* Internal `cspell-lib` use.
packages/cspell-lib/src/lib/textValidation/docValidator.ts:546
↓ 2 callers
Function
_listGlobalImports
()
packages/cspell/src/app.test.ts:504
↓ 2 callers
Function
_measurePerfEnd
(name: string, enabled: boolean)
packages/cspell-performance-monitor/src/performance.ts:24
↓ 2 callers
Function
_measurePerfStart
(name: string, enabled: boolean)
packages/cspell-performance-monitor/src/performance.ts:19
↓ 2 callers
Function
_removePathsFromGlobalImports
()
packages/cspell/src/app.test.ts:523
↓ 2 callers
Method
_set
(key: K, entry: Box<T>)
packages/cspell-dictionary/src/util/simpleCache.ts:34
↓ 2 callers
Method
_set
(key: K, entry: Box<T>)
packages/cspell-dictionary/src/util/simpleCache.ts:117
↓ 2 callers
Method
_set
(key: K, entry: Box<T>)
packages/cspell-lib/src/lib/util/simpleCache.ts:34
↓ 2 callers
Method
_set
(key: K, entry: Box<T>)
packages/cspell-lib/src/lib/util/simpleCache.ts:125
↓ 2 callers
Method
_suggest
(word: string)
packages/cspell-dictionary/src/SpellingDictionary/SuggestDictionary.ts:99
↓ 2 callers
Method
_suggest
(word: string)
packages/cspell-dictionary/src/SpellingDictionary/TyposDictionary.ts:151
↓ 2 callers
Function
_unindent
* Remove the left padding from a multi-line string. * @param {string} str * @returns {string}
tools/perf-chart/src/text.ts:143
↓ 2 callers
Function
aBytes
(data: string | ArrayBufferView, encoding?: BufferEncoding)
packages/cspell-io/src/common/encode-decode.test.ts:182
↓ 2 callers
Method
abortPromise
* Abort a pending request by its promise. * * Note: the request promise will be rejected with an AbortRequestError. * @param promise -
packages/rpc/src/client.ts:378
↓ 2 callers
Function
ac
(...params: Parameters<typeof expect.arrayContaining>)
packages/cspell-lib/src/lib/trace.test.ts:11
↓ 2 callers
Function
ac
(...params: Parameters<typeof expect.arrayContaining>)
packages/cspell-lib/src/lib/textValidation/validator.test.ts:13
↓ 2 callers
Function
accentForms
(letter: string)
packages/cspell-trie-lib/src/lib/utils/text.ts:91
← previous
next →
1,301–1,400 of 5,273, ranked by callers