lsp / org.pinelang.lsp.lsp.models / CompletionItem / insertTextFormat
insertTextFormat¶
val insertTextFormat:Int?
The format of the insert text. The format applies to both the insertText property and the
newText property of a provided textEdit. If omitted defaults to
InsertTextFormat.PlainText. 1: The primary text to be inserted is treated as a plain
string. 2: The primary text to be inserted is treated as a snippet.
A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0 defines
the final tab stop, it defaults to the end of the snippet. Placeholders with equal
identifiers are linked, that is typing in one will update others too.