class LSProtocol::InlineCompletionContext

Overview

Provides information about the context in which an inline completion was requested.

@since 3.18.0 @proposed

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(trigger_kind : InlineCompletionTriggerKind | Nil, selected_completion_info : SelectedCompletionInfo | Nil = nil) #

[View source]

Instance Method Detail

def selected_completion_info : SelectedCompletionInfo | Nil #

Provides information about the currently selected item in the autocomplete widget if it is visible.


[View source]
def trigger_kind : InlineCompletionTriggerKind #

Describes how the inline completion was triggered.


[View source]