You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is the intelligent prompt in the script editor of Godot 4.x version not sorted by the shortest text first, but randomly sorted? For example, the label clearly has a text variable, but it is not prioritized at the top. Instead, the constant with the longest text is sorted first with the text starting at the beginning?
I remember that this behavior was not present in Godot 3.x.
Steps to reproduce
Just try the issue description.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered:
can someone try on master to see if it is something different then what I already fixed
Can't reproduce this in master for Label.text:
I noticed that this happens for notification(), probably because the method belongs to Object and the NOTIFICATION_ constants are inherited classes. notification() is rarely used in custom code, but could it be possible to make constants take less precedence than properties and methods if the user doesn't start typing them in uppercase?
okay so this was the order I decided to go for and what you suggest is inverting iii and iv as this would rank them in the ordre you described. Effectively it seems better for scope to matter less then good capitalization
this would be pretty easy to change if needed
AThousandShips
changed the title
Why is the intelligent prompt in the script editor of Godot 4.x version not sorted by the shortest text first, but randomly sorted?
Intelligent prompt in the script editor of Godot 4.x version not sorted by the shortest text first
Sep 3, 2023
Godot version
4.1
System information
Win10, Core I7-9700,RTX2080
Issue description
Why is the intelligent prompt in the script editor of Godot 4.x version not sorted by the shortest text first, but randomly sorted? For example, the label clearly has a text variable, but it is not prioritized at the top. Instead, the constant with the longest text is sorted first with the text starting at the beginning?
I remember that this behavior was not present in Godot 3.x.
Steps to reproduce
Just try the issue description.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: