this is my computer:
When working with typescript in angular this happens:
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:
Make TypeScript work faster Here's the trick: Run a separate TypeScript process in watch mode in a terminal tab. Keep it running as you write code — it'll respond to changes and highlight errors a lot faster compared to VSCode.
Windows: Ctrl + Shift + P. MacOS: Command + Shift + P.
Troubleshooting# If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the issue. If you are still missing IntelliSense features after installing a language extension, open an issue in the repository of the language extension.
Disabling this made it lightning quick.
Try this to see if it is a particular extension.
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.
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