InlineCompletionItem

constructor(insertText: JsAny, range: Range = definedExternally, command: Command = definedExternally)(source)

Creates a new inline completion item.

Parameters

insertText

The text to replace the range with.

range

The range to replace. If not set, the word at the requested position will be used.

command

An optional Command that is executed after inserting this completion.

Online Documentation