Bug 223263 - [assist] change content assistance for enum inside switch from alphabetical order to ordinal order.
Summary: [assist] change content assistance for enum inside switch from alphabetical o...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-19 18:52 EDT by Robert Konigsberg CLA
Modified: 2008-08-22 11:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Konigsberg CLA 2008-03-19 18:52:45 EDT
Enter the following code:

enum State {
  BEFORE, DURING, AFTER
};

public void foo(State state) {
  switch(state) {
    case // Cursor Here
  }
}

Press CTRL-space. The order of the content assist is in alphabetical order: AFTER, BEFORE and then DURING. BEFORE, DURING, AFTER would be better.