VS Code Intellisense非常慢

编程入门 行业动态 更新时间:2024-10-26 22:30:18
本文介绍了VS Code Intellisense非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用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非常慢

本文发布于:2023-11-17 14:06:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1610148.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Code   Intellisense

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!