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

Key: IDEA-15219
Type: Usability Problem Usability Problem
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Erik Pragt
Votes: 0
Watchers: 0
Operations

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

Only do intelligent importing

Created: 23 Sep 07 17:39   Updated: 24 Sep 07 12:52
Component/s: Editor. Code Completion

Build: 7,294
Severity: Medium


 Description  « Hide
Hi,

This might be a feature request and not really a problem, but it would be great if it could be improved. Consider the following example:

I have a class, and I type:

Map map = new HashMap();

when I do an "Alt+Enter" on the new HashMap, the ordering in the list is first an hsqldb HashMap, and then the java.util.HashMap. I think this a shame, because 95% of the time, I'm really looking for core util classes. If this could be improved, that would be great, but that is not my issue. My issue is that if I select the java.util.HashMap, the Map map is still colored red (is not imported yet), though IntelliJ could have known which Map I want to use. Furthermore, if I try to do a manual Alt+Enter, IntelliJ first suggests an org.hibernate.mapping.Map, which isn't compatible with the new HashMap().

So my question is: could this be improved? Eg try to do some smart importing or something? Maybe you have better idea?



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