class

LSProtocol::InlineCompletionContext

Inherits JSON::Serializable / Reference / Object

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

@since 3.18.0 @proposed

Constructors

new(pull : JSON::PullParser)
Source
new(trigger_kind : InlineCompletionTriggerKind | Nil, selected_completion_info : SelectedCompletionInfo | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

selected_completion_info

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

Source
trigger_kind

Describes how the inline completion was triggered.

Source