Bug 26426

Summary: Add preference to sort method in the source file.
Product: [Eclipse Project] JDT Reporter: Gary Gregory <ggregory>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Gary Gregory CLA 2002-11-14 17:36:18 EST
Methods are sorted alphabetically within their own kind as set in the 
preferences. This is /very/ quite nice. I would like to be able to be able to 
sort the methods in the source so that they match what I see in the members 
pane.

Now, I click on a method and edit it, then I want to scroll to the next methods 
as I SEE IT in the Members pane, but, this view is misleading since the sorted 
relationship is NOT enforced b/w the Members view and the Editor view.

So I propose a new preference: a check box to keep the source code in the same 
order as the sort order specified on the preference page.

Thank you for considering this request,
Gary
Comment 1 Philipe Mulet CLA 2002-11-18 17:34:22 EST
It should even be able to sort members of local types.
Comment 2 Olivier Thomann CLA 2002-11-18 17:36:10 EST
I am investigating it using a ast visitor.
Comment 3 Olivier Thomann CLA 2003-01-15 13:28:58 EST

*** This bug has been marked as a duplicate of 14597 ***
Comment 4 Olivier Thomann CLA 2003-01-17 10:17:14 EST
Change milestone.