History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22984
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Kudravtsev
Reporter: t800t8
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Do not show "Create Constant Field" quickfix for enum classes

Created: 02 Nov 07 09:25   Updated: 02 Nov 07 20:59
Component/s: Editor. Intention Actions
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,523


 Description  « Hide
When I create a constant field for one enum, the generated code looks like below (before that the enum's body is empty)
public enum Sex {

    ;

    public static final Object MALE = ;
}


 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 02 Nov 07 20:59
t800t8: Note that a different quickfix - "Create Enum Constant" - does what you need and works correctly.