Bug 26426 - Add preference to sort method in the source file.
Summary: Add preference to sort method in the source file.
Status: RESOLVED DUPLICATE of bug 14597
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 17:36 EST by Gary Gregory CLA
Modified: 2003-01-17 10:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.