CompletionItem

constructor(label: JsAny, kind: CompletionItemKind = definedExternally)(source)

Creates a new completion item.

Completion items must have at least a label which then will be used as insert text as well as for sorting and filtering.

Parameters

label

The label of the completion.

kind

The kind of the completion.

Online Documentation