[Q][Godot3] Autocompletion doesn't show if the script inherits from another script that has a function singleton

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Pin

am I the only one facing this problem?


Singleton.gd # added to autoload
extends Node

func print_something(test):
print(test)

Character.gd

extends Node

func move_something():
    print("moving something")
    # calling singleton from here make the Player.gd script autocompletion don't show
    Singleton.print_something("hello world") # removing this will show autocompletion on Player.gd script


func throw_something():
    print("throwing something")
    # or calling singleton from here

Player.gd

extends "res://Character.gd"

func _ready():
    # auto completion don't show
    pass

You can report this bug on GitHub Issue Page

razah | 2018-02-10 22:24