Skip to content

Can the unused imports recepie remove wildcard includes? #2728

Answered by timtebeek
agreedSkiing asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants