File -> Settings -> Editor -> General -> Auto Import then enable Optimize imports on the fly(for current project)
file

本文使用OpenWrite进行编写

请叫我攻城狮
67 声望1 粉丝