Added GDScript annotations for export variable tooltips and groupings. #41033
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added some extra annotations for some features I have wanted for a long time!
@group("my_group")
@group("my_group/my_sub_group")
@tooltip("An explanation of the variable.")
Basically works the same as
HeaderAttribute
andTooltipAttribute
in Unity, so as a result should be reasonably easy to implement in C# - haven't looked though.This basically does the same thing as #40669 except it is with annotations (and as a result requires much less code). However since this relies on annotations, this is for 4.0 only and not 3.2.
Closes godotengine/godot-proposals#1255 (comment) and maybe others.