Bug 81427

Summary: Class members should be sortable on declaration order.
Product: [Developer tools] kdevplatform Reporter: Steven T. Hatton <hattons>
Component: classbrowserAssignee: kdevelop-bugs-null
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steven T. Hatton 2004-05-12 15:13:08 UTC
Version:           3.0.90-CVS (using KDE 3.2.2, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:                Linux (i686) release 2.4.21-215-default

This is probably a minor issue, but if someone can make it happen without too much effort, it would be nice if the class browser could change the oder in which members are displayed. So far as I know, the only ordering available is alphabetical. The advantage to displaying members in declaration order is that it can help creating the member initializer list. I believe it is best to put the items in the initializer list in the same order as they appear in the class declarations. And my compiler agrees. Being able to view them in that order while creating the list would, therefore, be convenient.
Comment 1 Becheru Petru-Ioan 2004-12-24 08:27:00 UTC
Thats a good idea !When I write my class members i put them on groups of function(functions that read the object,that write the object,that copy the object etc).VOTE FOR IT so it can be implemented
Comment 2 Eike Welk 2006-02-03 00:12:56 UTC
*** This bug has been confirmed by popular vote. ***