How do I speed up Typescript Intelisense in VsCode?

Viewed 11328

this is my computer:

  • MacBook Pro (16-inch, 2019)
  • 2.3 GHz 8-Core Intel Core i9
  • 16 GB 2667 MHz DDR4
  • Intel UHD Graphics 630 1536 MB

When working with typescript in angular this happens: enter image description here

The bigger the project the longer I have to wait for this to load. Really ruins my developer experience. Is there a way I can assign more resources to vs code so it runs faster? Are there any optimizations that I can do to make it work?

Solutions attempted:

Example Project structure:

  • project structure
3 Answers

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

Options :

  • Disable the built-in extensions and restart the computer

  • Disable eslint and tslint-plugin

  • Depends on your VsCode version

If you are using mongoose, some versions also cause this (5x and apparently some of the 6x). Updating mongoose or switching for prisma might solve the problem.

Related