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

Key: IDEADEV-17199
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Kudravtsev
Reporter: Jonas Kvarnstrom
Votes: 0
Watchers: 0
Operations

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

"Create enum constant" intention should ask for constructor parameters

Created: 16 May 07 14:09   Updated: 24 May 07 20:20
Component/s: Editor. Intention Actions
Fix Version/s: None

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

Build: 6,951
Severity: Medium


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.