MCPcopy Create free account

hub / github.com/streetsidesoftware/cspell / functions

Functions5,273 in github.com/streetsidesoftware/cspell

↓ 6 callersMethodremoveListener
(event: 'close', listener: (ev: Event) => void, options?: EventListenerOptions)
packages/rpc/src/messagePort.ts:23
↓ 6 callersFunctionsampleGitIgnoreFile
()
packages/cspell-gitignore/src/GitIgnoreFile.test.ts:156
↓ 6 callersFunctionsamples
()
packages/cspell-lib/src/lib/util/Comparable.test.ts:78
↓ 6 callersFunctionsatisfiesCSpellConfigFile
(obj: unknown)
packages/cspell-config-lib/src/CSpellConfigFile.ts:167
↓ 6 callersFunctionsearchForConfig
( searchFrom: URL | string | undefined, options?: SearchForConfigOptions, )
packages/cspell-lib/src/lib/Settings/Controller/configLoader/defaultConfigLoader.ts:22
↓ 6 callersFunctionsetLogger
(logger: Logger)
packages/cspell-lib/src/lib/util/logger.ts:38
↓ 6 callersFunctionsplit
( line: TextOffset, offset: number, isValidWord: IsValidWordFn, options: SplitOptions = {}, )
packages/cspell-lib/src/lib/util/wordSplitter.ts:45
↓ 6 callersFunctionspyOnConsole
()
packages/cspell-tools/src/test/console.ts:5
↓ 6 callersFunctionsr
(...sugs: (string | ExpectedSuggestion)[])
packages/cspell-trie-lib/src/lib/suggestions/suggest-en.test.ts:235
↓ 6 callersFunctionsugOpts
(opts: Partial<SuggestionCollectorOptions>)
packages/cspell-trie-lib/src/lib/suggestions/suggestCollector.test.ts:164
↓ 6 callersFunctionsugOptsMaxNum
(maxNumSuggestions: number)
packages/cspell-trie-lib/src/lib/suggestions/suggestTrieData.test.ts:378
↓ 6 callersFunctionsugOptsMaxNum
(maxNumSuggestions: number)
packages/cspell-trie-lib/src/lib/suggestions/suggest.test.ts:312
↓ 6 callersFunctiont
(...parts: string[])
packages/cspell-tools/src/build.test.ts:65
↓ 6 callersFunctiontextToArray
(text: string)
packages/hunspell-reader/src/IterableHunspellReaderLegacy.test.ts:179
↓ 6 callersFunctiontextToCodePoints
(text: string)
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8.ts:352
↓ 6 callersFunctiontfn
(colorFn: ChalkInstance)
integration-tests/src/check.ts:440
↓ 6 callersFunctiontime
()
integration-tests/src/check.ts:192
↓ 6 callersFunctiontoError
(e: unknown, errorFactory: UnknownErrorConstructor = UnknownError)
packages/cspell-lib/src/lib/util/errors.ts:40
↓ 6 callersMethodtoITrieNode
(node: TrieNode)
packages/cspell-trie-lib/src/lib/TrieNode/trie.ts:102
↓ 6 callersFunctiontoIterableIterator
(i: IterableLike<T>)
packages/cspell-lib/src/lib/util/iterableIteratorLib.ts:3
↓ 6 callersFunctiontoUint8Array
(data: ArrayBufferView)
packages/cspell-io/src/common/arrayBuffers.ts:13
↓ 6 callersFunctionurlOrReferenceToUrl
(urlOrReference: UrlOrReference)
packages/cspell-io/src/common/urlOrReferenceToUrl.ts:5
↓ 6 callersFunctionvizWidth
(s: string)
packages/cspell-trie-lib/src/lib/distance/formatResultEx.ts:18
↓ 6 callersFunctionyieldAll
(...values: Iterable<T>[])
packages/cspell-pipe/src/helpers/iteratorToIterable.test.ts:89
↓ 5 callersMethod#getPtrData
(element: DataElementWithRef)
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:745
↓ 5 callersMethod#sendResponse
(response: RPCMessage)
packages/rpc/src/server.ts:85
↓ 5 callersFunctionURIfile
(file: string)
packages/cspell-lib/src/lib/util/Uri.test.ts:166
↓ 5 callersFunctionURIparse
(url: string)
packages/cspell-lib/src/lib/util/Uri.test.ts:162
↓ 5 callersMethodaddData
(name: string, description: string, formatType: FormatType, data: DataArrayView)
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:182
↓ 5 callersMethodaddString
(str: string)
packages/cspell-trie-lib/src/lib/StringTable/StringTable.ts:129
↓ 5 callersFunctionasBoolean
()
packages/hunspell-reader/src/affReader.ts:256
↓ 5 callersFunctionassertValidUtf16Character
(char: string)
packages/cspell-trie-lib/src/lib/utils/text.ts:125
↓ 5 callersFunctionasyncIteratorToAsyncIterable
(iterator: AsyncIterator<T> | Iterator<T>)
packages/cspell-pipe/src/helpers/iteratorToIterable.ts:18
↓ 5 callersFunctionautoCache
(fn: (p: string) => R, size: number = CACHE_SIZE)
packages/cspell-dictionary/src/util/AutoCache.ts:71
↓ 5 callersMethodautoGet
* Returns a specified element from the Map. If the element isn't found, the resolver function is called and the result is stored in the map and return
packages/cspell-strong-weak-map/src/StrongWeakMap.ts:53
↓ 5 callersFunctionautoResolve
(map: Map<K, V>, key: K, resolve: (k: K) => V)
packages/cspell-lib/src/lib/util/AutoResolve.ts:5
↓ 5 callersMethodblocked
()
packages/cspell-lib/api/api.d.ts:260
↓ 5 callersFunctionboxKeyValues
(entries: [K, V][])
packages/cspell-strong-weak-map/src/StrongWeakMap.test.ts:155
↓ 5 callersFunctioncalcSettingsForLanguage
( languageSettings: LanguageSettings, languageId: LanguageId, locale: LocaleId, )
packages/cspell-lib/src/lib/Settings/LanguageSettings.ts:103
↓ 5 callersFunctioncallHello
(file: string | URL, paths?: string | URL | (string | URL)[])
packages/dynamic-import/src/test/helper.ts:12
↓ 5 callersFunctioncb
(this: typeof thisArg, v: Boxed<string>, k: string, m: Map<string, Boxed<string>>)
packages/cspell-strong-weak-map/src/StrongWeakMap.test.ts:108
↓ 5 callersFunctioncheckForForbiddenWords
( dict: { isForbidden: (word: string) => boolean }, words: string[], totalChecks = 100_000, )
packages/cspell-dictionary/src/perf/has.perf.ts:221
↓ 5 callersMethodclear
* Removes all registered handlers.
packages/rpc/src/notify.ts:71
↓ 5 callersFunctioncloneInto
( src: Readonly<T>, dst: Partial<T>, handlers: Handlers<T>, keys?: K[], )
packages/cspell-lib/src/lib/util/clone.ts:15
↓ 5 callersFunctioncompileWordList
( lines: Iterable<string>, destFilename: string, options: CompileTrieOptions, )
packages/cspell-tools/src/compiler/wordListCompiler.test.ts:242
↓ 5 callersMethodcorrelationScore
(m: FeatureMap)
packages/cspell-lib/src/lib/SpellingDictionary/SuggestExperimental/helpers.ts:59
↓ 5 callersFunctioncpy
(src: T, dst: T, key: K)
packages/cspell-lib/src/lib/Settings/sanitizeSettings.ts:220
↓ 5 callersMethodcreateFindOptions
(options: RO<PartialFindOptions> = {})
packages/cspell-trie-lib/src/lib/trie.ts:273
↓ 5 callersFunctioncreateResponseFail
( _request: R, error: E, )
packages/cspell-service-bus/src/request.ts:51
↓ 5 callersFunctioncreateSourceMapCursor
(sourceMap: SourceMap | undefined)
packages/cspell-lib/src/lib/Transform/SourceMap.ts:128
↓ 5 callersFunctioncreateSuggestionOptions
(...opts: SuggestionOptionsRO[])
packages/cspell-trie-lib/src/lib/suggestions/genSuggestionsOptions.ts:117
↓ 5 callersFunctioncreateTestHelper
(testFilenameUrl: string)
packages/cspell-tools/src/test/TestHelper.ts:74
↓ 5 callersFunctioncreateTrieRoot
(options?: PartialTrieInfoRO)
packages/cspell-trie-lib/src/lib/TrieNode/trie-util.ts:59
↓ 5 callersFunctioncs
( useCache?: boolean, cacheLocation?: string, cacheStrategy?: CacheOptions['cacheStrategy'], c
packages/cspell/src/util/cache/createCache.test.ts:93
↓ 5 callersMethoddebug
(...params: Parameters<FinalizedReporter['debug']>)
packages/cspell/src/reporters/LintFileResult.ts:50
↓ 5 callersFunctiondecodeTrie
(raw: string | ArrayBufferView<ArrayBuffer> | Uint8Array<ArrayBuffer>)
packages/cspell-trie-lib/src/lib/decodeTrie.ts:10
↓ 5 callersFunctiondecodeTrieData
(raw: string | ArrayBufferView<ArrayBuffer> | Uint8Array<ArrayBuffer>)
packages/cspell-trie-lib/src/lib/io/decode.ts:10
↓ 5 callersFunctiondecodeUtf8ByteStream
( bytes: Iterable<number> | ReadonlyArray<number> | Uint8Array, )
packages/cspell-trie-lib/src/lib/TrieBlob/Utf8.ts:245
↓ 5 callersFunctiondelay
(values: T[], ms: number)
packages/cspell-pipe/src/operators/buffer.test.ts:75
↓ 5 callersFunctiondi
(dictInfo: Partial<DictionaryInformation>)
packages/cspell-trie-lib/src/lib/mappers/mapDictionaryInfoToWeightMap.test.ts:35
↓ 5 callersFunctiondispatchClearCache
()
packages/cspell-lib/src/lib/events/events.ts:92
↓ 5 callersFunctiondocumentUriToURL
(uri: DocumentUri)
packages/cspell-lib/src/lib/util/Uri.ts:189
↓ 5 callersFunctiondynamicImport
( moduleName: string | URL, paths: string | URL | (string | URL)[] | undefined, )
packages/dynamic-import/src/cjs/index.ts:1
↓ 5 callersMethodenabled
()
packages/cspell-lib/api/api.d.ts:259
↓ 5 callersFunctionendianness
()
packages/cspell-trie-lib/src/lib/utils/endian.ts:3
↓ 5 callersFunctionexample
()
packages/cspell-config-lib/src/CSpellConfigFile/CSpellConfigFileYaml.test.ts:545
↓ 5 callersFunctionextractStats
(ac: AutoCache<unknown> | CacheStats)
packages/cspell-dictionary/src/util/AutoCache.ts:96
↓ 5 callersFunctionfetch
()
packages/cspell/src/lint/processFiles.ts:50
↓ 5 callersFunctionfileOrGlobToGlob
( fileOrGlob: string | GlobPattern, root: string, path: PathInterface = Path, )
packages/cspell-glob/src/globHelper.ts:49
↓ 5 callersFunctionfinalizeSettings
(settings: CSpellSettingsWSTO | CSpellSettingsI)
packages/cspell-lib/src/lib/Settings/CSpellSettingsServer.ts:268
↓ 5 callersFunctionfindTrieCostPrefixes
(trie: TrieCost, str: string, i: number)
packages/cspell-trie-lib/src/lib/distance/weightedMaps.ts:287
↓ 5 callersFunctionfix
(...parts: string[])
packages/cspell-tools/src/compiler/compile.test.ts:21
↓ 5 callersFunctionfixDict
(...fixtureFile: string[])
packages/cspell-lib/src/lib/textValidation/docValidator.test.ts:415
↓ 5 callersFunctionfn
()
packages/cspell/src/util/prefetch.test.ts:34
↓ 5 callersFunctiongc
(globs: Partial<GlobPatternWithOptionalRoot>[], ...toApply: Partial<GlobPatternWithOptionalRoot>[])
packages/cspell-glob/src/GlobMatcher.test.ts:498
↓ 5 callersFunctiongenerateExclusionFunctionForUri
( globs: Glob[], root: string, allowedSchemes: Set<string> = defaultAllowedSchemes, )
packages/cspell-lib/src/lib/exclusionHelper.ts:43
↓ 5 callersMethodgetDataElement
(name: string)
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:501
↓ 5 callersFunctiongetDefaultCSpellIO
()
packages/cspell-io/src/CSpellIONode.ts:108
↓ 5 callersFunctiongetEnvironmentVariable
(key: K)
packages/cspell/src/environment.ts:53
↓ 5 callersFunctiongetFileSystem
()
packages/cspell-lib/src/lib/fileSystem.ts:11
↓ 5 callersMethodgetFileSystem
* Get the file system for a given url. The provider is cached based upon the protocol and hostname. * @param url - the url to get the file system
packages/cspell-io/src/VirtualFS/VirtualFS.ts:86
↓ 5 callersFunctiongetGlobalSettings
()
packages/cspell-lib/src/lib/Settings/Controller/configLoader/defaultConfigLoader.ts:70
↓ 5 callersFunctiongetInDocumentSettings
(text: string)
packages/cspell-lib/src/lib/Settings/InDocSettings.ts:107
↓ 5 callersMethodgetPendingRequestByPromise
* Get info about a pending request by the promise returned using `call` or an api method. * @param id - The RequestID of the pending request.
packages/rpc/src/client.ts:326
↓ 5 callersFunctiongetSettings
(...settings: CSpellSettings[])
packages/cspell-lib/src/lib/trace.test.ts:180
↓ 5 callersMethodgetStringBytes
(idx: number)
packages/cspell-trie-lib/src/lib/StringTable/StringTable.ts:65
↓ 5 callersFunctiongetSystemFeatureFlags
()
packages/cspell-tools/src/FeatureFlags/FeatureFlags.ts:98
↓ 5 callersMethodgetUint16
* Get a Uint16 from the data. * @param name - name of the Uint16 field * @returns number value
packages/cspell-trie-lib/src/lib/binary/binaryFormat.ts:635
↓ 5 callersMethodgetUtf8Value
(c: string)
packages/cspell-trie-lib/src/lib/TrieBlob/CharIndex.ts:100
↓ 5 callersFunctiongetWords
()
packages/cspell-trie-lib/perf/create.perf.ts:118
↓ 5 callersFunctiongfs
(ur: UrlOrReference, name: string)
packages/cspell-io/src/VirtualFS/redirectProvider.ts:168
↓ 5 callersFunctiongfs
(ur: UrlOrReference, name: string)
packages/cspell-io/src/VirtualFS/CVirtualFS.ts:140
↓ 5 callersFunctiongroupBy
(data: Readonly<T[]>, key: keyof T | ((d: T) => K))
tools/perf-chart/src/groupBy.ts:3
↓ 5 callersFunctionhas
(node: TrieNode, word: string)
packages/cspell-trie-lib/src/lib/TrieNode/trie-util.ts:77
↓ 5 callersFunctionhasOptionToSearchOption
(opt: HasOptions | undefined)
packages/cspell-dictionary/src/SpellingDictionary/SpellingDictionaryMethods.ts:61
↓ 5 callersFunctionhexDump
(buffer: Uint8Array)
packages/cspell-trie-lib/src/lib/binary/hexDump.ts:2
↓ 5 callersFunctionhintedWalker
( root: TrieRoot, ignoreCase: boolean, hint: string, compoundingMethod: CompoundWordsMethod |
packages/cspell-trie-lib/src/lib/walker/hintedWalker.ts:15
↓ 5 callersFunctioninject
(template: TemplateStringsArray, ...values: unknown[])
tools/perf-chart/src/text.ts:7
↓ 5 callersFunctioninsertWordsAtCursor
(cursor: BuilderCursor, words: Iterable<string>)
packages/cspell-trie-lib/src/lib/Builder/cursor-util.ts:3
↓ 5 callersFunctionisDictionaryDefinitionInlineInternal
( def: DictionaryDefinitionInternal | DictionaryDefinitionInline | DictionaryDefinition, )
packages/cspell-lib/src/lib/Settings/internal/InternalDictionaryDef.ts:49
← previousnext →601–700 of 5,273, ranked by callers