LLVM: llvm::lsp::InlayHint Struct Reference (original) (raw)

Inlay hint information. More...

#include "[llvm/Support/LSP/Protocol.h](Protocol%5F8h%5Fsource.html)"

Public Attributes
Position position
The position of this hint.
std::string label
The label of this hint.
InlayHintKind kind
The kind of this hint.
bool paddingLeft = false
Render padding before the hint.
bool paddingRight = false
Render padding after the hint.

Inlay hint information.

Definition at line 1136 of file Protocol.h.

kind

label

std::string llvm::lsp::InlayHint::label

paddingLeft

bool llvm::lsp::InlayHint::paddingLeft = false

Render padding before the hint.

Note: Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

Definition at line 1157 of file Protocol.h.

paddingRight

bool llvm::lsp::InlayHint::paddingRight = false

Render padding after the hint.

Note: Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

Definition at line 1164 of file Protocol.h.

position


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