basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

Code action to fix `reportUnusedImport`

Open npip99 opened this issue 1 year ago • 0 comments

There's currently a code action to automatically import, but there's no code action to automatically "un-import". The latter is unambiguous, so it's a pretty good candidate for there to be a code action for it.

Screenshot 2024-09-22 at 6 30 04 AM

Current Behavior: <Code Action Hotkey> does nothing Screenshot 2024-09-22 at 6 30 18 AM

Ideal Behavior: <Code Action Hotkey> removes the unused import.

npip99 avatar Sep 22 '24 13:09 npip99