When I try to use the autocomplete using Pylance it is stuck there for some time
and After Some time like 3 ~ 5 seconds the pop up with auto-complete shows up
Python Language Server is already set to Pylance
What I've tried so far.
Reinstall Python Extension.
Reinstall VS Code
Restarted Python Language Server
Reset VS Code
Reinstall Pylance.
But None of the above seems to work
It works well on my computer, how do you open this python file?
Try moving your code to its own folder and opening that up instead of opening up some big folder that contains a lot of files. This does show a performance hole where large workspaces take a while to load.
You can refer to this page for more details.
I was working with 2025.2.1 and noticed a huge slowdown and it didn't matter how big the project was. It was very odd as it would autocomplete very fast outside of a function, but then take a few seconds within a function after an arbitrary line of code.
I rolled back to 2024.10.1 and it is blazing fast again for autocomplete even on my large project with tens of thousands of lines of code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With