Looks like we have PHP variable sorting issues crept back into the 5.2 beta. I'm running:
Komodo IDE, version 5.2.0-beta1, build 33645, platform win32-x86.
Built on Fri Sep 04 08:37:03 2009.
The top level sorts OK (except $this is now at the bottom of the list instead of the top). But arrays / objects no longer have their values sorted.
-- hugh
I actually meant "no longer have their keys sorted", not values.
I can see as how some folk will want it sorted in actual 'physical' (not sure what the terminology is there ... the actual underlying ordering of the keys in the object) key order ... maybe we could have an option somewhere on the variable pane, to sort by physical vs alphanumeric?
-- hugh
I thought we had finally managed to take care of this problem....
With 5.2, you can now sort on either the Name, Type, or Value fields
in the variable watcher table. Clicking on the header goes through
the three ways of sorting that column: ascending, then descending,
and finally leaving the values in the order returned by the
debugger engine. Each set of items gets sorted only among
its siblings.
I see that the sorting code isn't ignoring variable indicators
like the '$' in PHP. Should these be ignored, sort upwards,
sort downwards, or just sort by whatever ASCII value they each
happen to have?
- Eric
OMG! I'm a dumbass. It was just too damn intuitive.
My apologies, once again Komodo does exactly what I need without me even knowing it.
-- hugh
In your defense, it did take us a while to get it right.
- Eric