ng-inspector icon indicating copy to clipboard operation
ng-inspector copied to clipboard

Order model items alphabetically (or by type)

Open lukas-shawford opened this issue 11 years ago • 3 comments
trafficstars

From what it looks like, model variables are currently not sorted in any manner. They're not alphabetical, and variables are mixed with functions:

image

This makes things difficult to find, especially if you have a lot of things going on in your model. These should be sorted in some manner. It probably makes the most sense to just sort alphabetically, though another option would be to sort by variable type (functions vs non-functions... I don't know if there's a need to get more granular than that, like with arrays vs objects vs primitives).

lukas-shawford avatar May 25 '14 19:05 lukas-shawford

Good catch, at least alphabetic ordering should be a good start, and later possibly an extension setting to toggle grouping by type.

rev087 avatar May 25 '14 20:05 rev087

This is a very good suggestion! I would personally like it to be sorted by variable type first and the alphabetically, but it would also be good if this would be made configurable.

I see that two years have passed since when it was proposed, has it been addressed already? What's the current plan?

lackovic avatar Aug 19 '16 07:08 lackovic

+1

scottschup avatar Dec 15 '17 21:12 scottschup