Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357550

Summary: Add more (sub-)menu entries for sorting members
Product: [Eclipse Project] JDT Reporter: Blessed Geek <blessedgeek>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert, raksha.vasisht
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Blessed Geek CLA 2011-09-13 15:45:21 EDT
Build Identifier: 201108101000

There times when I just wish to sort constructors. At times, just the fields and initializers. Sometimes, just the nested classes and enums. Or the methods only. Or the setters/getters only.

Right now, I wish to sort the getters and setters grouped by attribute without sorting constructors, fields or nested classes or enums. There is no such feature.

Therefore, I am proposing that Sort Members should be reorganised into check boxes like this:

_ Sort Constructors
  _ Alphabetically
  _ Order by public, protected, private, package-private
  _ group all constructors together

_ Sort classes and Enums (and in the future 1st clacs funcs/closures-whatever)
  _ group by classes, enums, etc

_ Sort methods

_ Sort getters/setters
  _ group by attribute name



Reproducible: Always
Comment 1 Raksha Vasisht CLA 2011-10-24 15:48:35 EDT
I'm not sure there's plans to do this currently... Dani?
Comment 2 Dani Megert CLA 2011-10-25 01:58:28 EDT
> Therefore, I am proposing that Sort Members should be reorganised into check
> boxes like this:
Are you proposing to reorganize the menu or the preferences?
Comment 3 Blessed Geek CLA 2011-10-31 16:14:12 EDT
Reorganise the menu.
Comment 4 Dani Megert CLA 2011-11-03 06:03:39 EDT
See also bug 276630 and bug 72418.