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

Key: IDEADEV-17795
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Sascha Weinreuter
Votes: 0
Watchers: 0
Operations

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

Create class QuickFix doesn't add import statement

Created: 13 Jun 07 13:46   Updated: 06 Aug 08 19:54
Component/s: Editor. Intention Actions
Fix Version/s: Diana 8660

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

Build: 7,015
Fixed in build: 7,939
Severity: Medium


 Description  « Hide
When creating the class "Bar" like in the example below, IDEA does not insert the required import-statement when "Bar" is created in a different package. (Note: The auto-import functionality may make this hard to spot)
package foo;

public class Foo {
    public static void main(String[] args) {
        new Bar(); // <alt>-<enter> -> Create Class "Bar" in package "foo.bar"
    }
}


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