| Summary: | Sort members should not reorder Enums | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Karsten Becker <java> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Too late for 3.1. This would need a new API. I guess it is solved with 3.2 M3 FYI I've put a fix in for Bug 133277 against 3.3M4 that will allow sorting of members to be disabled. As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |
When you declare: public enum Ordering { ZERO,ONE,TWO; } Sort Members will result in: public enum Ordering { ONE,TWO,ZERO; } Also there is a warning now, I think that it would not be too difficult, to provide an option for choosing, whether enums should be sorted too..