Intellisense Enum order is inconsistent

When you type in Enum.UserInputType. intellisense will list off all the enums of that type, in alphabetical order (nice!). That order totally falls apart if you try and refine what you’re looking for (not nice!). Why is this annoying? Muscle memory and things not being where I think they are a keystroke later. Hurts the workflow and what not.


Visual aid:

Add an M, and you get:

Not all these lists seem to have this issue, but a solid amount do. Material is another one where the ordering changes when trying to filter by G.


To repro:
1. Open up a studio instance to a state that allows you to type code. Command bar works, or just any type of script editor
2. Begin typing out an Enum path, in this example Enum.UserInputType
3. Observe the order of a group of enums starting with the same character, in this example M.
4. Add M to refine the list (your line should be Enum.UserInputType.M) and observe your enum list is now out of order compared to step 3.

I can repro this 100% time on a Windows 10 computer running studio version 0.355.0.241665

9 Likes