For some reason, if I have a variable inside my project, Vscode stopped suggesting imports when i press Ctrl + Space.
For example, I have a class in types.py:
class StepStatus(ExtendedEnum):
RUNNING = "RUNNING"
ERROR = "ERROR"
OK = "OK"
At the same level, another file called runner.py, but if try to auto import this variable it raises no suggestions:

But if I manually import the StepStatus variable it exists:
There is my vscode settings.json content:
{
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"isort.args": [
"--profile",
"black"
],
"python.analysis.extraPaths": [
"${workspaceFolder}"
],
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Material Theme High Contrast",
"window.zoomLevel": 1,
"terminal.integrated.inheritEnv": false
}
I already tried to reinstall Vscode, reinstall Pylance extension, delete cache but nothing works. The auto import suggestions only works for the default libraries such as json, typing, datetime...



