Crate ide_completion
source ·Expand description
completions
crate provides utilities for generating completions of user input.
Structs§
CompletionItem
describes a single completion entity which expands to 1 or more entries in the editor pop-up.- A user supplied snippet.
Enums§
- The type of the completion item.
- A snippet scope describing where a snippet may apply to. These may differ slightly in meaning depending on the snippet trigger.
Functions§
- Main entry point for completion. We run completion as a two-phase process.
- Resolves additional completion data at the position given. This is used for import insertion done via completions like flyimport and custom user snippets.