enum LSP::Data::CompletionTriggerKind

Overview

How a completion was triggered.

Defined in:

lsp/data/completion_trigger_kind.cr

Enum Members

Invoked = 1

Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API.

TriggerCharacter = 2

Completion was triggered by a trigger character specified by the triggerCharacters properties of the CompletionRegistrationOptions.

TriggerForIncompleteCompletions = 3

Completion was re-triggered as the current completion list is incomplete.

Constructors

Instance Method Summary

Constructor Detail

def self.new(*args) #

[View source]

Instance Method Detail

def invoked? #

[View source]
def to_json(*args) #

[View source]
def trigger_character? #

[View source]
def trigger_for_incomplete_completions? #

[View source]