Is there any way to `not import` specific package ...
# android
c
Is there any way to
not import
specific package or class? I enabled auto import and it keeps importing something else.
s
c
It's for all the files. I want to use it for only one file.
s
You can exclude individual classes, static members or methods this way as well, passing
packageX.ClassY
would exclude only ClassY from autoimport, passing
packageX.ClassY.memberZ
would only exclude
ClassY.memberZ
from static import etc.
c
No, I mean, default should include all and I want to exclude in some files.