Skip to main content

Crate perl_lsp_inline_completion

Crate perl_lsp_inline_completion 

Source
Expand description

Inline completions provider with deterministic rules and AI backend support.

This crate provides context-aware inline completions that appear as ghost text. Deterministic completions are based on patterns; AI-powered suggestions use the InlineCompletionBackend trait for pluggable providers.

Structs§

BackendRequest
Request payload sent to an AI completion backend.
InlineCompletionItem
Inline completion item (LSP 3.18 preview)
InlineCompletionList
Inline completion list (LSP 3.18 preview)
InlineCompletionProvider
A provider for inline completions.
PreparedInlineCompletionContext
Prepared context for inline completion suggestions and future AI handoff.
StreamChunk
A chunk emitted by a streaming backend.

Enums§

BackendError
Error type for backend operations.
StreamControl
Control signal returned by the stream sink callback.

Traits§

InlineCompletionBackend
Trait for AI inline completion backends.