Bug 96765

Summary: Code completion does not work in enum constants
Product: [Eclipse Project] JDT Reporter: Gytis Jakutonis <gjakutonis>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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