Hinting auto completer about node type?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By hexdump
:warning: Old Version Published before Godot 3 was released.

Hi,

Is there any possibility to get auto completion for correct type? As an example I have a Path2D node and I would like to see its methods provided by the suggester, auto completer, but only base node methods, etc… are shown.

Any solution to this?

Cheers.

I’m afraid this is not currently possible. There’s a plan to add static typing to GDScript, but no defined date AFAIK.

vnen | 2016-08-21 02:18

Well, I know there is not static typing. Just wanted to know if at “parser discovery level” we could hint in anyway godot to provide good auto-complete.

hexdump | 2016-08-21 19:34