Created attachment 47425 [details] Outline element with many functions. Its quite a chaos, isn't it? Version: SVN (using KDE 4.4.3) OS: Linux If there is like 2000+ lines of code which containing many functions and/or objects then a sortable 'outline' selector would be very useful. Element screenshot attached to specify. Reproducible: Didn't try Expected Results: I imagine a switch (button) for unsorted (as now) or ABC sorted functions/objects listed in the element.
There's a reason for that edit-field. The point of the outline list is not to select from a few thousand functions, but to show what the text you type into the edit field matches. This way you can easily reduce the amount of shown items to a handful.
Yea, i know this, but for me the sorted list can be even faster to browse then switching between mouse and keyboard. I miss this, because all IDE knows among those which i used before.
I'm also interested in this function. oues this so difficult to implement?
Its not difficult to implement at all, it just isn't useful for the current contributors. The outline should, well, outline the document structure as-is. We assume you sort the functions in the body in a meaningful way. For me personally, a sorted list would break horribly. Suddenly e.g. "Bar::foo and Bar::setFoo" would not be next to each other in the list. Anyhow, you could implement this analogously to the different QuickOpen modes and then we could have a second shortcut to show a sorted outline. This you can use then, and we can keep the current mechanism in as well.