LSP code action: remove all unused imported types and values #3241
nicklimmm
started this conversation in
Ideas & suggestions
Replies: 1 comment
-
Good idea! I've made an issue #3257 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I often find myself removing the unused imported types and values manually after I'm done with prototyping or refactoring.
Gleam can remove all unused imports, but not imported types and values yet.
A simple example:
Should become:
This would be a good QOL improvement, especially if we are dealing with a lot of imported types and values.
Beta Was this translation helpful? Give feedback.
All reactions