Disable IntelliJ Starred (Package) Imports?

前端 未结 3 1825
野性不改
野性不改 2021-01-29 19:30

I\'m a migrating Eclipse IDE user and am learning my way round IntelliJ IDEA 9.

By default Eclipse IDE won\'t use a starred import until you import 99 classes from the s

3条回答
  •  被撕碎了的回忆
    2021-01-29 20:17

    And you also have to remove package names from the "Packages to use import with *" list box just below the "Class count to use import with " text boxes. Swing and AWT are there by default I think. I still was having import javax.swing.; added even though I had the class count set to 999. I used the minus sign button to remove Swing and Awt from the box and then it worked.

提交回复
热议问题