Reputation: 1609
So, I started learning with the 3.0 RC1 version of the Godot Engine and I noticed, that code completion isn't working. No suggestions, no completions, nothing. Only highlighting and bracket completion works. Is that because of the RC1 or am I missing something? Code completion is enable in editor settings.
Thanks alot.
Greetings, Nils
Upvotes: 1
Views: 4457
Reputation: 1079
Since Godot 3.1 you can use typed variables in GDScript like this:
var myTexture : ImageTexture
And then autocomplete will work a little better for those. Otherwise Godot can not always figure out what type your variable is.
Upvotes: 1
Reputation: 1609
Solved this myself. I just weren't writing the code inside the scene functions.
Upvotes: 0