IntelliJ Organize Imports

后端 未结 14 1002
孤街浪徒
孤街浪徒 2020-12-02 04:48

Does IntelliJ have an Organize Imports feature similar to that in Eclipse? What I have is a Java file with multiple classes missing their imports. Example:

p         


        
14条回答
  •  独厮守ぢ
    2020-12-02 05:23

    navigate to the file where you want to organize imports or just click on the whole package or even click on the project than press CTRL + ALT + O

提交回复
热议问题