Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 154555 - [actions] Annotation to disable sort on enums
Summary: [actions] Annotation to disable sort on enums
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 331483 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-21 11:44 EDT by G. Ralph Kuntz, MD CLA
Modified: 2010-12-01 07:13 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G. Ralph Kuntz, MD CLA 2006-08-21 11:44:19 EDT
It would be nice if Eclipse had a Java annotation to disable sorting on a particular enum.  All others could still be sorted with the menu 'Source->Sort Members...'.
Comment 1 Dani Megert CLA 2006-08-22 02:22:27 EDT
Since sorting isn't done in JDT Core we, UI could do this but not sure whether we should introduce the annotation or JDT Core.

Sounds like yet another candidate of our discussed "annotation" mechanism.
Comment 2 Martin Aeschlimann CLA 2006-08-22 10:23:55 EDT
There is alreayd a dialog that asks if you want to sort enum constants. Isn't that good enough?
Comment 3 G. Ralph Kuntz, MD CLA 2006-08-22 10:35:43 EDT
(In reply to comment #2)
> There is alreayd a dialog that asks if you want to sort enum constants. Isn't
> that good enough?
> 

No. Most enums I want sorted, but the few that map to database constants, I do not. The current system is all-or-none.
Comment 4 Martin Aeschlimann CLA 2006-08-29 05:25:56 EDT
To be honest, 'Sort Members' isn't on the top of our list for additional features. We would like to keep the feature as simple as possible. Setting to later and helpwanted.
Comment 5 Denis Roy CLA 2009-08-30 02:17:59 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.
Comment 6 Dani Megert CLA 2010-12-01 02:34:01 EST
*** Bug 331483 has been marked as a duplicate of this bug. ***