class

LSProtocol::CompletionItemLabelDetails

Inherits JSON::Serializable / Reference / Object

Additional details for a completion item label.

@since 3.17.0

Constructors

new(pull : JSON::PullParser)
Source
new(description : String | Nil = nil, detail : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description

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

Source
detail

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

Source