pub(crate) fn stamp_resolve_data(items: &mut [CompletionItem], uri: &Url)Expand description
Index symbol kind → LSP symbol kind, aligned with the document-symbol
outline’s choices (capability=INTERFACE, service/agent=CLASS,
provider=OBJECT). The index does not distinguish type shapes, so every
type maps to STRUCT.
Map a completion::Completion to an LSP CompletionItem.
Stash the document URI in each item’s data so completion_resolve can look
the symbol up — a resolve request carries only the item, not a position.