New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WildcardImport should support regex exclusions #506
Comments
Agree, we also have the logic for it see |
Just checked out. It is already implemented. The config property was just absent ;) |
Hmmm not that I know of. That was a glaring example as it's a default one in Android Studio (and I suppose IDEA), and Android Kotlin projects get the Android Kotlin extensions by default in the template... |
I've added intellij's defaults to the default config ^^ |
Great, thanks :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics. |
Currently WildcardImport only checks if a given wildcard import matches exactly entries from a set of exclusions, but it should support regexes because a lot of people have wildcard imports for stuff like Kotlin Android Extension's
kotlinx.android.synthetic.*
packages, which are very easy to allow with a regex but almost impossible to exclude without.Having
kotlinx.android.synthetic
use star imports is a default IDE configuration so we should likely allow those by default too.The text was updated successfully, but these errors were encountered: