intellij-gdscript icon indicating copy to clipboard operation
intellij-gdscript copied to clipboard

Add support for "static" method qualifiers

Open exigow opened this issue 1 year ago • 0 comments

In Godot 3 there was clear distinction between classes (Vector2 ,Node) and singletons (Input) which had only static methods.

Godot 4 introduces static methods for non-singleton classes. It's not supported by plugin.

For example: DirAccess class can be instantiated but also has static methods (like DirAccess.open(dir)). This open(dir) method should be autocompleted in same as Input.is_key_pressed(key).

Additional consideration: Maybe the distinction between singletons and classes is no longer useful?

exigow avatar Jul 23 '23 17:07 exigow