Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep unused imports on demand #62

Open
mxmzb opened this issue Dec 17, 2021 · 1 comment
Open

Keep unused imports on demand #62

mxmzb opened this issue Dec 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mxmzb
Copy link

mxmzb commented Dec 17, 2021

Sometimes I'm playing with packages or code. I might comment or delete a line just temporary, with the intention to bring it back. However, this plugin will remove the unused package immediately, and I need to reimport the package manually again.

Therefore, I wish there was an option to disable just the removal of unsuded packages on save, or manually trigger this action.

Note, that this can not be achieved with keepUnused config key, because that will prevent the plugin to remove the listed packages at all times. I just want fine grained control about when I run the action, not change the behavior of the action itself.

@daidodo daidodo added the enhancement New feature or request label Dec 18, 2021
@daidodo
Copy link
Owner

daidodo commented Dec 19, 2021

Thanks for the feedback!

I'll add it to the TODO list and come back when available.
Meantime, any suggestions or PRs are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants