clang-tools 19.0.0git
Public Attributes | List of all members
clang::clangd::CompletionItemLabelDetails Struct Reference

Additional details for a completion item label. More...

#include <Protocol.h>

Public Attributes

std::string detail
 An optional string which is rendered less prominently directly after label without any spacing.
 
std::string description
 An optional string which is rendered less prominently after CompletionItemLabelDetails.detail.
 

Detailed Description

Additional details for a completion item label.

Definition at line 1275 of file Protocol.h.

Member Data Documentation

◆ description

std::string clang::clangd::CompletionItemLabelDetails::description

An optional string which is rendered less prominently after CompletionItemLabelDetails.detail.

Should be used for fully qualified names or file path.

Definition at line 1284 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ detail

std::string clang::clangd::CompletionItemLabelDetails::detail

An optional string which is rendered less prominently directly after label without any spacing.

Should be used for function signatures or type annotations.

Definition at line 1279 of file Protocol.h.

Referenced by clang::clangd::toJSON().


The documentation for this struct was generated from the following file: