Skip to content

lsp / org.pinelang.lsp.lsp.models / CompletionContext

CompletionContext

data class CompletionContext

Constructors

Name Summary
<init> CompletionContext(triggerKind:Int, triggerCharacter:String?)

Properties

Name Summary
triggerCharacter The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter``val triggerCharacter:String?
triggerKind How the completion was triggered. 1: Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API. 2: Completion was triggered by a trigger character specified by the triggerCharacters properties of the CompletionRegistrationOptions. 3: Completion was re-triggered as current completion list is incompleteval triggerKind:Int