struct LSP::Data::CompletionList

Overview

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

Included Modules

Defined in:

lsp/data/completion_list.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(is_incomplete : Bool = false, items : Array(LSP::Data::CompletionItem) = [] of CompletionItem) #

[View source]

Instance Method Detail

def is_incomplete : Bool #

[View source]
def is_incomplete=(is_incomplete : Bool) #

[View source]
def items : Array(CompletionItem) #

The completion items.


[View source]
def items=(items : Array(CompletionItem)) #

The completion items.


[View source]