-
Notifications
You must be signed in to change notification settings - Fork 133
Implement detection and reporting of unused imports #18
Comments
Adding some estimate. @AlexanderSher - it needs further clarification. |
Blocked by microsoft/language-server-protocol#500 |
The issue microsoft/language-server-protocol#500 seems to be closed now, so should this be unblocked? (Anxiously waiting for this feature!) |
Not until LSP 3.15 is released, and then not until there's a client implementation for the feature. |
Would this include optional removal of said imports? Currently I'm using task.json#tasks entry {
"type": "process",
"label": "autoflake.removeUnusedImports",
"command": "${command:python.interpreterPath}",
"args": [
"-m",
"autoflake",
"-i",
"--remove-all-unused-imports",
"${file}"
]
}, |
@micimize what language server are you using? If you're using Pylance, head over to Pylance's issue tracker at https://github.com/microsoft/pylance-release/issues |
Thank you for the report. This project is no longer active. If you are using the Python language server in VSCode, the language server you are using is Pylance and please the http://github.com/microsoft/pylance-release to report issues. If you are using Visual Studio, then, please use http://github.com/microsoft/PTVS to report issues. thank you |
microsoft/vscode-python#43
microsoft/PTVS#254
The text was updated successfully, but these errors were encountered: