class LSProtocol::CompletionItemLabelDetails

Overview

Additional details for a completion item label.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(description : String | Nil = nil, detail : String | Nil = nil) #

[View source]

Instance Method Detail

def description : String | Nil #

An optional string which is rendered less prominently after CompletionItem#detail. Should be used for fully qualified names and file paths.


[View source]
def detail : String | Nil #

An optional string which is rendered less prominently directly after CompletionItem#label, without any spacing. Should be used for function signatures and type annotations.


[View source]