CompletionItemLabelDetails
in package
Additional details for a completion item label.
Tags
Table of Contents
Properties
- $description : string|null
- An optional string which is rendered less prominently after {@link CompletionItemLabelDetails.detail}. Should be used for fully qualified names or file path.
- $detail : string|null
- An optional string which is rendered less prominently directly after {@link CompletionItem.label label}, without any spacing. Should be used for function signatures or type annotations.
Methods
- __construct() : mixed
Properties
$description
An optional string which is rendered less prominently after {@link CompletionItemLabelDetails.detail}. Should be used for fully qualified names or file path.
public
string|null
$description
$detail
An optional string which is rendered less prominently directly after {@link CompletionItem.label label}, without any spacing. Should be used for function signatures or type annotations.
public
string|null
$detail
Methods
__construct()
public
__construct([string|null $detail = null ][, string|null $description = null ]) : mixed
Parameters
- $detail : string|null = null
- $description : string|null = null