Expand description
completions crate provides utilities for generating completions of user input.
Structs§
- Completion
Config - Completion
Item CompletionItemdescribes a single completion variant in the editor pop-up. It is basically a POD with various properties. To construct aCompletionItem, usenewmethod and theBuilderstruct.- 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.