Your comments

I like the way TextMate did code folding - if you held down the option key (Mac) and click the triangle, it would fold that block recursively - the block and all it's child blocks got folded. If you then clicked again to open it but without holding the option key, it would only unfold that block, leaving all child blocks still folded. I find this super useful when I have a really large PHP or JS object, as I can fold the entire thing, scan through it to find the code I want and then just unfold that bit to work on it.


This functionality also worked in TextMate's folder list, which is consistent with how folding works in the Mac OS Finder's list views.