Property and Method links in comments #8701
InkONat
started this conversation in
Engine Core
Replies: 1 comment
-
Note that we already have a syntax for this (it's used by generated documentation): https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_documentation_comments.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
You should be able to put links to properties and methods in the current script (or to some other script or custom class).
The way you make the link should be discussed, but my idea is
For example, if I want to add a link to the method
my_method
of the classMyClass
, i can do# (Method my_method of class MyClass)[MyClass my_method]
, which will display on the script editor# Method my_method of class MyClass
, and there will be a line below that text when your cursor hovers over it.Maybe you could also link to doc pages as well?
Beta Was this translation helpful? Give feedback.
All reactions