IDEA import 设置 避免 import .*

Scroll Down

Setting》Editor》Code Style》Java
找到Imports标签
找到

class count to use import with '*'
Names count to use static import with '*'

修改为你想要的值即可