Autocomplete / import of classes seems broken?

Previously, when I used a class from another package, I could select the correct class via Alt-Enter and it would be added as an import statement to the code.
Now, the current use of the class is expanded into the fully qualified class name, that is instead of

import java.util.Map;
public Map foo = new HashMap();

I get:

public java.util.Map foo = new HashMap();

This is really annoying, as I now have to type in the import statements by hand or risk cluttering my code with full package names.
Is there a configuration option to change this back to the way it was?

1 comment
Comment actions Permalink

Well, talking about it seems to have helped: now it works again. Strange.


Please sign in to leave a comment.