KetraTerm
API · DevelopmentAll versions

TerminalCompletionSources

Factories for dependency-free, host-composable completion sources.

Functions

Link copied to clipboard
fun fuzzyPath(sourceId: String, entriesProvider: TerminalFuzzyPathProvider, requiresNonEmptyPrefix: Boolean = true, allowedCommandNames: Set<String> = emptySet()): TerminalCompletionSource

Creates a source backed by a query-aware host fuzzy-path provider.

fun fuzzyPath(messages: TerminalCompletionMessages, sourceId: String, entriesProvider: TerminalFuzzyPathProvider, requiresNonEmptyPrefix: Boolean = true, allowedCommandNames: Set<String> = emptySet()): TerminalCompletionSource

Creates fuzzy path completion with localized fallback descriptions; provider details remain authoritative.

Link copied to clipboard

Creates a source for host-indexed Gradle tasks.

Creates Gradle task completion with localized fallback descriptions; imported task documentation is preserved.

Link copied to clipboard

Creates a path autocomplete source backed by a host-provided file system lister.

Creates direct path completion with host-localized generated descriptions.

Link copied to clipboard

Creates a source for one host-owned dynamic value domain.

Link copied to clipboard

Projects one already-loaded dynamic-value group into completion candidates.