I noticed that for 4 imports from the same package, auto-import will just add the import to the list:
import android.support.v7.widget.AppCompatImageButton
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.Toolbar
But adding 5th import will cause auto-import to switch to a wildcard:
import android.support.v7.widget.*
Is there a way to save auto-import, but tell him not to do this, or change the threshold? I don't mind having a long import list, it feels ... familiar.
source
share