godotengine / godotengine/godot-cpp

Method argument autocomplete not working?

Open
#247 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

Right now if I register a method that has arguments those don't appear in the autocomplete in the GDScript side... is it okay.. is it a bug?! Also, GDScript doesn't work with returned static typed instances from GDNative classes...

```
var a = MyGDNativeClass.new(); # "a" has autocompletion for methods

var b = a.return_an_instance_of_another_gdnative_class(); # "b" doesn't have autocompletion

var c: AnotherGDNativeClass = a.return_an_instance_of_another_gdnative_class(); # no autocompletion
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.