How to add description to exported variables?

Godot Version

4.2 Mono

Question

there’s a variable, for example:
@export var test
or
[Export] private float test; (as in my case, this is C#)

I would be glad to have an answer for C# code, but if the answer is only for GDScript, I’ll try to figure it out by poking around.

For GDScript its here GDScript documentation comments — Godot Engine (stable) documentation in English

I don’t think it’s implemented in C# Proposal here Add support for generating class reference descriptions from C# documentation comments · Issue #8269 · godotengine/godot-proposals · GitHub

1 Like