Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Obsolete
Assignee
Alexey Kudravtsev
Subsystem
Editor. Intention Actions
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Jonas Kvarnstrom
    4 years ago (16 May 2007 15:09)
  • Updated by   Anna Kozlova
    5 months ago (25 Aug 2011 17:18)
  • Jira: IDEADEV-17199
    (history, comments)
 
IDEA-38582 "Create enum constant" intention should ask for constructor parameters
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
If Foo is an enum class and I type Foo.WHATEVER where the constant WHATEVER does not exist, there is a quickfix to create this enum constant. If I accept, a constant is created without any arguments, even if Foo only has constructors that take arguments.

Expected behavior: If Foo has any constructor that takes arguments, the cursor should end up after the new WHATEVER constant allowing me to type the expected arguments.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments