This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 227723

Summary: Create Hint "create Constructor for enum"
Product: java Reporter: tomzi <tomzi>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description tomzi 2013-03-20 14:16:52 UTC
When you create an enum, you will typically start typing:

private enum MyPets {

REX("dog", 5),
KITTY ("cat", 4);

}

Of course you would get an error here, since the constructor does not exist. 
It would be helpful if Netbeans would provide a hint for me suggestion to create the constructor for me