struct LSP::Protocol::CompletionItem

Defined in:

lsp/protocol/completion_item.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(label : String, kind : LSP::Protocol::CompletionItemKind, detail : String, data : LSP::Protocol::MethodCallContextData | LSP::Protocol::RequireModuleContextData | Nil, insert_text = nil, documentation : LSP::Protocol::MarkupContent | Nil = nil) #

[View source]
def self.new(__temp_72 : JSON::PullParser) #

[View source]

Instance Method Detail

def data : CompletionItemData | Nil #

[View source]
def data=(_data : CompletionItemData | Nil) #

[View source]
def detail : String #

[View source]
def detail=(_detail : String) #

[View source]
def documentation : MarkupContent | Nil #

[View source]
def documentation=(_documentation : MarkupContent | Nil) #

[View source]
def filter_text : String #

[View source]
def filter_text=(_filter_text : String) #

[View source]
def insert_text : String #

[View source]
def insert_text=(_insert_text : String) #

[View source]
def insert_text_format : InsertTextFormat #

[View source]
def insert_text_format=(_insert_text_format : InsertTextFormat) #

[View source]
def kind : CompletionItemKind #

[View source]
def kind=(_kind : CompletionItemKind) #

[View source]
def label : String #

[View source]
def label=(_label : String) #

[View source]
def sort_text : String #

[View source]
def sort_text=(_sort_text : String) #

[View source]
def to_json(json : JSON::Builder) #

[View source]