hintTitle

Positional value UDA setting the annotation-level display title (ToolAnnotations.title), distinct from @tool's 3rd argument (Tool.title). Attach alongside @tool.

@safe
struct hintTitle {}

Members

Variables

value
string value;

the annotation-level display title (ToolAnnotations.title)

Examples

@tool("erase", "Erase a record")
@destructive @idempotent @hintTitle("Erase Record")
void erase(string id) { ... }