struct LSP::Data::CompletionList
- LSP::Data::CompletionList
- Struct
- Value
- Object
Overview
Represents a collection of completion items to be presented in the editor.
Included Modules
- JSON::Serializable
Defined in:
lsp/data/completion_list.crConstructors
- .new(pull : JSON::PullParser)
- .new(is_incomplete : Bool = false, items : Array(LSP::Data::CompletionItem) = [] of CompletionItem)
Instance Method Summary
- #is_incomplete : Bool
- #is_incomplete=(is_incomplete : Bool)
-
#items : Array(CompletionItem)
The completion items.
-
#items=(items : Array(CompletionItem))
The completion items.
Constructor Detail
def self.new(is_incomplete : Bool = false, items : Array(LSP::Data::CompletionItem) = [] of CompletionItem)
#