Expand description
completions
crate provides utilities for generating completions of user input.
Structs§
- Completion
Config - Completion
Item CompletionItem
describes a single completion variant in the editor pop-up. It is basically a POD with various properties. To construct aCompletionItem
, usenew
method and theBuilder
struct.- Import
Edit - An extra import to add after the completion is applied.
Enums§
Functions§
- completions
- Main entry point for completion. We run completion as a two-phase process.
- resolve_
completion_ edits - Resolves additional completion data at the position given.