Visual Studio Code Intellisense Is Very Slow - Is There Anything I Can Do

Visual Studio Code Intellisense is very slow - Is there anything I can do?

Maybe it's Jedi. I mean its awesome but ... Tinkering with Jedi myself on bigger code bases I can confirm that it might be uber slow at times and pretty hard to figure out what the problems are... :/

Solution might be to switch to another language server! The VSCode Python extension has a "Language Server"-setting:

Sample Image

aka python.languageServer.

Pylance is MS own new language server. I just tried it and it all seems a little snappier. As of today this is tagged as Preview. So there might be improvements around the corner.

VS Code Pylance works slow with much delay

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.



Related Topics



Leave a reply



Submit