Open Settings > Editor > Code Style > Java > Scheme Default > Imports
① Change Class count to use import with "*" to 99 (classes that import the same package exceed this value will automatically change to * )
② Change Names count to use static import with "*" is changed to 99 (same as above, but this is statically imported)
③ Delete the default two packages from Package to Use import with "*" (no matter how many classes are used, as long as they are in this list, they will change *)
PS: Scheme Default is global, you can also modify only a certain Project's
idea_cancel automatic import .*
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326726028&siteId=291194637
Recommended
Ranking