Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

the "Remove Unused Import" command should remove all unused imports in the from import statement #1722

Closed
yvvt0379 opened this issue Aug 25, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@yvvt0379
Copy link

yvvt0379 commented Aug 25, 2021

Current Behavior

Just removes the import where the cursor is located, which requires many many repetitive operations to remove all unused imports

Expected Behavior

Remove all unused imports in the python file.

@Chris-hughes10
Copy link

Coming to VSCode as a PyCharm user, it would be great if there was an option to remove all unused imports in a file.

@judej
Copy link
Contributor

judej commented Apr 19, 2022

Moving this issue to discussion as an enhancement request for comments and upvotes.

@microsoft microsoft locked and limited conversation to collaborators Apr 19, 2022
@judej judej converted this issue into discussion #2646 Apr 19, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants