Documentation

CompletionItemLabelDetails
in package

Additional details for a completion item label.

Tags
since
3.17.0
  • proposed state

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

        
On this page

Search results