Automatically remove unused imports #305
Replies: 5 comments 17 replies
-
Could you add more details? Which functionality automatically removes unused imports, ... |
Beta Was this translation helpful? Give feedback.
-
I believe import sorting should stick to that: moving the code around, but not eliminating it. Removing code is more for a linter, where the user chooses to do it. |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this? |
Beta Was this translation helpful? Give feedback.
-
We now provide the |
Beta Was this translation helpful? Give feedback.
-
My use case are
How can I achieve this? |
Beta Was this translation helpful? Give feedback.
-
Have an option in
organizeImports
to remove imports that aren't used.From:
To:
An idea discussion based on question #304 .
Beta Was this translation helpful? Give feedback.
All reactions