Is there addon for showing custom functions in a hint popup?

Godot Version

v4.5.stable.official

Question

Is there addon or some way for gdscript that can show me a custom methods in a pop up menu?


For example here I have this object with custom methods like the “start_timer()” method and even though it is there I don’t see it in the available methods.

Is there an addon that can show these methods and or even variables of custom objects in suggestion popup menu?

This is already a thing if you use Type hinting in GDScript. If you assign something to a variable, add a class_name at the top of said script, then from another script, do something like:
var myClass: className = whatever

image

Then in the script where you want to access something, do:
image

This should give you hints on what functions you have in your TestClass.

2 Likes

Yes, thank you, that works.

1 Like