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

Anti-Distinctlyminty picture Anti-Distinctlyminty · Aug 16, 2018 · Viewed 34.2k times · Source

Edit: Pylance seems to be much better at this and has so far resolved all problems with the previous Python language server from Microsoft.

I'm using VS Code and it's wonderful is all areas but code completion, where it is usually just too slow to be of any use. This example shows how long intellisense took to to find a local variable, and this is only after it was prompted to do so after I hit ctrl+enter.

enter image description here

I've not been able to find a solution to this as of yet, so I am here to ask if anyone else has had a similar issue and ask how they have overcome it.

Answer

MadMac picture MadMac · May 15, 2019

It turned out it was a particular VS Code extension for me.
Angular Language Service. Disabling this made it lightning quick.

Try this to see if it is a particular extension.

  • Open Command Palette (Ctrl+Shift+P)
  • Type in "Disable all installed extensions"
  • Enable them one by one or in groups and test the intellisense speed