Scene path hints as in built-in functions

Godot Version

Godot 4.2

Question

Is there any way to make the scene path hints in my method like in built-in function:
image

I don’t think it’s possible. For what I’m seeing in the source code it’s not exposed to the scripting side. Code search results · GitHub