我使用VSCode已有一年多了,从未遇到过这个问题.我正在处理的项目非常庞大,而当我处理该项目时,VSCode的运行速度非常慢.我尝试了其他项目,但是它们工作正常,但是奇怪的是,在同一项目中,一个十人以上的团队正在工作,并且大多数人都使用VSCode,但是他们的VSC似乎没有问题.
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.
我必须等待大约2分钟才能首次访问IntelliSense.因此,每次打开文件时,我都需要等待2至3分钟才能看到建议.
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.
当我打开Project时,我收到了这些消息,我猜这完全没问题.仅在最初的10秒内.
When I open Project, I get these messages, which is totally fine I guess. It's only for the first 10 seconds.
初始化完成后,它仍会在接下来的2分钟内保持加载状态.
After initialization is finish, it still keeps loading for the next 2 minutes.
我尝试过的事情:我禁用了所有扩展程序,重新安装了VScode,重新安装了Windows(我正在使用Windows 10),降级到以前的版本,甚至更改了系统,但仍然无济于事.
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.
系统规格:Core I5(第三代),具有16GB的Ram和500GB的SSD
System Specs: Core I5 (3rd Gen) with 16GB of Ram and SSD of 500GB
推荐答案请删除项目文件夹中的.vs文件夹,然后重新启动vscode,现在intellisense可以正常工作了.
Please delete the .vs folder in your project folder and restart the vscode, now the intellisense will work fine.
更多推荐
VS Code Intellisense非常慢
发布评论