class LSProtocol::CompletionItemLabelDetails
- LSProtocol::CompletionItemLabelDetails
- Reference
- Object
Overview
Additional details for a completion item label.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#description : String | Nil
An optional string which is rendered less prominently after
CompletionItem#detail
. -
#detail : String | Nil
An optional string which is rendered less prominently directly after
CompletionItem#label
, without any spacing.
Constructor Detail
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.
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.