Bug 96765 - Code completion does not work in enum constants
Summary: Code completion does not work in enum constants
Status: CLOSED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 96774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-26 07:21 EDT by Gytis Jakutonis CLA
Modified: 2005-06-10 12:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gytis Jakutonis CLA 2005-05-26 07:21:41 EDT
Code completion does not work in enum constants:
public enum MyEnum {

  A(){
    public String toString() {
      // no code completion here!
      return null;
    }
  };

}
Comment 1 Dani Megert CLA 2005-05-26 09:58:25 EDT

*** This bug has been marked as a duplicate of 87170 ***
Comment 2 David Audel CLA 2005-06-03 11:57:22 EDT
This bug is not a duplicate of bug 87170

Reopen
Comment 3 David Audel CLA 2005-06-03 12:00:05 EDT
*** Bug 96774 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2005-06-06 10:59:30 EDT
+1 for RC2
Comment 5 David Audel CLA 2005-06-06 11:07:00 EDT
Fixed and tests added
  EnumCompletionParserTest#test0008() -> test0013()
Comment 6 Olivier Thomann CLA 2005-06-06 15:13:38 EDT
Verified using N20050606-0010 + JDT/Core HEAD
Comment 7 Olivier Thomann CLA 2005-06-10 12:20:16 EDT
Verified in  I20050610-0010