typedef CompletionItem
package vscode.debugProtocol
import vscode.debugProtocol.DebugProtocol
CompletionItems are the suggestions returned from the CompletionsRequest.
Fields
optionaltype:Null<CompletionItemType>
The item's type. Typically the client uses this information to render the item in the UI with an icon.
optionalstart:Null<Int>
This value determines the location (in the CompletionsRequest's 'text' attribute) where the completion text is added. If missing the text is added at the location specified by the CompletionsRequest's 'column' attribute.
optionalsortText:Null<String>
A string that should be used when comparing this item with other items. When falsy
the label is used.
optionalselectionStart:Null<Int>
Determines the start of the new selection after the text has been inserted (or replaced). The start position must in the range 0 and length of the completion text. If omitted the selection starts at the end of the completion text.
optionalselectionLength:Null<Int>
Determines the length of the new selection after the text has been inserted (or replaced). The selection can not extend beyond the bounds of the completion text. If omitted the length is assumed to be 0.
optionallength:Null<Int>
This value determines how many characters are overwritten by the completion text. If missing the value 0 is assumed which results in the completion text being inserted.
label:String
The label of this completion item. By default this is also the text that is inserted when selecting this completion.