Closed Frozenfire92 closed 1 week ago
They are added if you enable text_editor/completion/add_type_hints
That's great, thanks for pointing me in the right direction
Note that this setting is enabled by default since 4.3: https://github.com/godotengine/godot/pull/88026
That's great 🙂
Describe the project you are working on
A game that uses signals for event communication
Describe the problem or limitation you are having in your project
When using the editor to auto generate a method from a signal, the parameter types are not included, even though they are shown in the Node dock
While godot is typing optional, I believe it would be helpful as it provides an immediate understanding what the parameter is, as well as a shortcut (ctrl + click) to quickly access the docs for that type
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Update the method auto generation to include the type for parameters
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
This may not be desired within godot's paradigms of types being optional, but I think it could be presented as an Editor Setting allowing users to opt into this functionality
If this enhancement will not be used often, can it be worked around with a few lines of script?
Unsure
Is there a reason why this should be core and not an add-on in the asset library?
This feels like core engine functionality