struct LSP::Data::CompletionContext

Overview

Contains additional information about the context in which a completion request is triggered.

Included Modules

Defined in:

lsp/data/completion_context.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(trigger_kind : LSP::Data::CompletionTriggerKind = CompletionTriggerKind::Invoked, trigger_character : Nil | String = nil) #

[View source]

Instance Method Detail

def trigger_character : String | Nil #

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

[View source]
def trigger_kind : CompletionTriggerKind #

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

[View source]