You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Everything had been perfect and suddenly couple days ago I started experiencing a problem with auto-imports.
My setup: MacOS, VS Code, Python extension (includes Pylance).
"python.analysis.autoImportCompletions": true,
When I write a name of a class or a function and press Ctrl+Space, the Auto-import suggestion popup appears. Then I select one of the options, and nothing happens. I expect some changes in the import section in the top of a file, but file doesn't change at all. However the file change indicator appears (a white circle on the righthand side of a tab) like file has been changed, but it hadn't.
Interestingly a light bulb icon (Quick fix) still works. But I'd like to continue using Ctrl+Space.
I'm sure I didn't change my settings before it started to happen.
I tried:
adjusting some settings
restarting VS Code
restarting a computer
reinstalling extensions
reinstalling VS Code
googling a solution
searching similar issues in repos
Maybe someone else experiencing the same behavior?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Everything had been perfect and suddenly couple days ago I started experiencing a problem with auto-imports.
My setup: MacOS, VS Code, Python extension (includes Pylance).
When I write a name of a class or a function and press Ctrl+Space, the Auto-import suggestion popup appears. Then I select one of the options, and nothing happens. I expect some changes in the import section in the top of a file, but file doesn't change at all. However the file change indicator appears (a white circle on the righthand side of a tab) like file has been changed, but it hadn't.
Interestingly a light bulb icon (Quick fix) still works. But I'd like to continue using Ctrl+Space.
I'm sure I didn't change my settings before it started to happen.
I tried:
Maybe someone else experiencing the same behavior?
vscode-python.mp4
Beta Was this translation helpful? Give feedback.
All reactions