godot
godot copied to clipboard
Don't autocomplete numbers in GDScript
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers
Closes #72565
I think it would be more correct to fix this in GDScript. In other languages (for example JavaScript), completion after numbers may be possible.
What do you mean by fix it in GDScript?
Also, the example you posted still works with this PR. Autcomplete is only cancelled on purely numeric text (not just the presence of digits).
Ah I couldn't get it to work yesterday but seems fine today. Fixed!
Thanks!
Cherry-picked for 4.0.1.