The shortcut key for optimizing package import in Intellij idea is ctrl + alt + o, but if you need to optimize the automatic import package at one time, you can configure it as follows
Intellij idea one-time package import
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325297618&siteId=291194637
Recommended
Ranking