How to prevent IntelliJ IDEA from deleting unused packages?

前端 未结 4 2131
一整个雨季
一整个雨季 2020-12-01 07:20

I\'m working with intelliJ and my problem is when I start to import some temporary unused packages into my class file intellij delete those line within a second.

how

4条回答
  •  长情又很酷
    2020-12-01 07:41

    In Intellij 14 : Settings > Editor > General > Auto Import > Optimize imports on the fly.

提交回复
热议问题