Adelphius@lemmy.worldtoGodot@programming.dev•Daily Godot Tip #5: You can enable Add Type Hints in the editor settings to make auto generated code be spawned in with static typing
0·
4 months agoYou can do this on a per project basis.
Under Project Setting > General enable advanced settings.
Then under Debug > GDScript you can set your preferred settings for warning and error. I like these settings as it’s more like a statically typed language:
- Untyped Declaration: Error
- Unsafe Property Access: Error
- Unsafe Method Access: Error
- Unsafe Cast: Warn
- Unsafe Call Argument: Error
I know everyone here is already just asking for invites, but if anyone is feeling gracious, I would much appreciate one too.
https://s.team/p/hbm-kmvp/mvkmddwm