LSProtocol::CompletionItemLabelDetails
Inherits JSON::Serializable / Reference / Object
Additional details for a completion item label.
@since 3.17.0
Constructors
new(pull : JSON::PullParser)
Sourcenew(description : String | Nil = nil, detail : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
description
An optional string which is rendered less prominently after CompletionItem#detail. Should be used
for fully qualified names and file paths.
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.