struct LSP::CompletionContext

Included Modules

Defined in:

lsp/protocol/completion_context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def trigger_character : String | Nil #

The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter


[View source]
def trigger_character=(trigger_character : String | Nil) #

The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter


[View source]
def trigger_kind : CompletionTriggerKind #

How the completion was triggered.


[View source]
def trigger_kind=(trigger_kind : CompletionTriggerKind) #

How the completion was triggered.


[View source]