Completion
constructor(label: String, kind: CompletionKind, detail: String? = null, documentationMarkdown: String? = null, insertionSnippet: String? = null)
Parameters
label
the text displayed in the completion list
kind
the role of the completion
detail
a short additional note (e.g. the module name, or required)
documentationMarkdown
the documentation of the completed element, in Markdown
insertionSnippet
the snippet to insert when the completion is accepted, with tab-stop placeholders, or null to insert label