Java code completion chooses non-standard library classes first.

Answered

Before I file a bug, I figured I should ask here.
I recently started using IntelliJ and I love everything about it so far except that it has this nasty habit of auto-completing non-standard library classes over their standard counterparts. For example the Map interface:

or the List:

 

I cannot come up with a example with a concrete class at the moment, but I am fairly certain I have encountered that too.

0
2 comments

IDEA learns what to suggest first basing on your previous choices, you can also exclude certain classes from import and completion (Alt+Enter in the completion list for a menu to exclude it).

Please also check if the issue can be reproduced with 2016.3 EAP available at https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.3+EAP, a known issue affecting suggestions order was fixed there.

0
Avatar
Permanently deleted user

It appears to be fixed in 2016.3
I look forward to it being fully released!

Thanks!

0

Please sign in to leave a comment.