VS Code Intellisense is extremely slow

≡放荡痞女 提交于 2021-02-07 13:47:57

问题


I am using VSCode for more than a year and never faced this problem. The project I am working on is huge and VSCode is extremely slow when I am working on this project. I tried other projects and they work fine but what's strange is on the same project, a team of 10+ is working and most of them use VSCode but there seems no problem with their VSC.

I have to wait for like 2 minutes on first access to IntelliSense. So every time I open a file, I have to wait for like 2 to 3 minutes before I can see suggestions.

When I open Project, I get these messages, which is totally fine I guess. It's only for the first 10 seconds.

After initialization is finish, it still keeps loading for the next 2 minutes.

What I tried: I disabled all my extensions, reinstalled VScode, reinstall Windows (I'm using Windows 10), downgrade to previous version and even change my system but still, nothing works.

System Specs: Core I5 (3rd Gen) with 16GB of Ram and SSD of 500GB


回答1:


Please delete the .vs folder in your project folder and restart the vscode, now the intellisense will work fine.




回答2:


add a file to your project folder .vscodeignore and place node_modules inside it and be happy.



来源:https://stackoverflow.com/questions/60634012/vs-code-intellisense-is-extremely-slow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!