I want to group imports by packages in intelliJ.
Right now it sorts the imports properly, and gives me this.
import com.google.common.Something
import com.google.common.SomethingElse
import org.apache.commons.Something
import org.apache.commons.SomethingElse
I want it to be
import com.google.common.Something
import com.google.common.SomethingElse
import org.apache.commons.Something
import org.apache.commons.SomethingElse
How can I make intelliJ automatically do this, without having to set the package names individually in Editor->Cody Style->Java->Imports->Import Layout
.