perl-lsp-inline-completion
Perl inline-completion provider for ghost-text style suggestions. It prepares request context from the current buffer and returns inline completions for the editor to render.
Use this crate when
Use perl-lsp-inline-completion if you need inline suggestions, not the normal
completion-list UI. It is adjacent to perl-lsp-completion, but optimized for
single-line, in-buffer suggestions.
Key exports
InlineCompletionProvider- computes inline completions from buffer statePreparedInlineCompletionContext- parsed context for a cursor locationInlineCompletionItem/InlineCompletionList- inline completion payloads
Example
use InlineCompletionProvider;
let provider = new;
let completions = provider.get_inline_completions;
Stack role
perl-lsp uses this crate for inline completion requests. It sits on top of
the same Perl-aware parsing and context analysis as the standard completion
engine.