Interface CompletionItemLabelDetails

Additional details for a completion item label.

3.17.0

interface CompletionItemLabelDetails {
    description?: string;
    detail?: string;
}

Properties

description?: string

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

detail?: string

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