Disable Wild Cart Import In Intellij Android Studio In Kotlin
I want to turn off wild cart import in java class import. For example if I am importing java.util package's any class then it will import whole java package like java.util.*. So ho
Solution 1:
Finally got answer by re-search:
Simple steps to disable wildcart import in in Android Studio with Kotlin. Steps as listed below.
- In settings>code style>java as mentioned in below screen.
- In java import tab apply changes as given in below screen
- Also in kotlin tab apply changes as given in below changes
Note : Don't forgot to remove all packages form "packages to use import with *" section in kotlin tab.
Solution 2:
Look under Settings -> Code Style -> Kotlin -> Packages to Use Import with '*'
(note, Kotlin, not Java as in the linked question). I've just checked and it does include java.util.*
at my machine and I didn't edit it before.
Post a Comment for "Disable Wild Cart Import In Intellij Android Studio In Kotlin"