When I input List
in Intellij, it doesn't automatically provide a prompt for importing java.util
. I have to import java.util.List
manually.
When I write java.util
, it doesn't prompt to add List
, but instead ArrayList
.
Please check File | Settings | Editor | General | Auto Import | Exclude from Import and Completion. If java.util.List
is there, remove it.