clang-tools 20.0.0git
|
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. | |
Additional details for a completion item label.
Definition at line 1275 of file Protocol.h.
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().
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().