Open IntelliJ preferences, search for 'imports', click `Code Style` > `Java`, then go to the `Imports` tab and make sure 'Use single class import' is checked. Also, change 'Class count to use import with *' to some large number like 1000.