struct

LSP::Data::CompletionList

Inherits JSON::Serializable < Struct < Value < Object

Represents a collection of completion items to be presented in the editor.

Constructors

new(pull : JSON::PullParser)
Source
new(is_incomplete : Bool = false, items : Array(LSP::Data::CompletionItem) = [] of CompletionItem)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

is_incomplete

This list it not complete. Further typing should result in recomputing this list.

Source
is_incomplete=(is_incomplete : Bool)

This list it not complete. Further typing should result in recomputing this list.

Source
items

The completion items.

Source
items=(items : Array(CompletionItem))

The completion items.

Source