OptionaldeprecatedIndicates if the item is deprecated.
OptionaldocumentationA human-readable string with additional information about this item, like type or symbol information.
OptionaliconLabIcon object for icon to be rendered with completion type.
OptionalinsertCompletion to be inserted.
User facing completion. If insertText is not set, this will be inserted.
OptionalresolveMethod allowing to update fields asynchronously.
OptionaltypeType of this completion item.
Completion item object based off of LSP CompletionItem. Compared to the old kernel completions interface, this enhances the completions UI to support: