Can the unused imports recepie remove wildcard includes? #2728
-
Can the recepie that removes unused imports remove imports like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @agreedSkiing ; you might want to have a look at Order Imports instead; that one also has to option to remove unused imports, and should expand star imports. There could be a bit more nuance to it, as we typically try to AutoDetect the Style used in a project, and conform to the prevailing style found throughout the project already. If you want more control over expanding imports, you can look into defining an explicit style; we support a couple common ones already, but you can define custom styles as well. |
Beta Was this translation helpful? Give feedback.
Hi @agreedSkiing ; you might want to have a look at Order Imports instead; that one also has to option to remove unused imports, and should expand star imports.
There could be a bit more nuance to it, as we typically try to AutoDetect the Style used in a project, and conform to the prevailing style found throughout the project already. If you want more control over expanding imports, you can look into defining an explicit style; we support a couple common ones already, but you can define custom styles as well.