https://code.visualstudio.com/docs/python/editing#_sort-imports
I have set
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
in vscode, it looks the right python interpreter is chosen, but it doesn't produce sorted imports as expected. I suspect a wrong isort is being used by vscode, how could I find out which isort is vscode exactly using?
~/.vscode/extensions/ms-python.python-2020.6.90262/pythonFiles/sortImports.py
and~/.vscode/extensions/ms-python.python-2020.6.90262/pythonFiles/lib/python/isort/
– Achorn