VS代码停止显示有关C++的建议。

发布于 2025-02-13 05:22:54 字数 123 浏览 1 评论 0原文

它运行良好,直到不是为止。不知道发生了什么。我当时认为可能是一些新的包括“使用名称空间std”的标头的错,但我删除了它,但它仍然无法使用。 现在,它甚至不会显示为基本的STD容器建议。我尝试按下CTRL +空间,并说“找不到建议”。

It was working fine, until it wasn't. Not sure what happened. I was thinking may be its fault of some new include headers that had "using namespace std", but I removed that and it still wont work.
Now it wont even show suggesting for basic std containers. I tried pressing ctrl + space, and it says "no suggestions found".

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

桃气十足 2025-02-20 05:22:54

注意到我已经在VS代码的右下角中粘上了图标,其中说“更新Intellisense”。谷歌搜索了这一点,因为碰巧有些人也遇到了类似的问题。显然,intelisense被卡住了大文件夹,然后从第二个 *删除

"includePath": [
            "${workspaceFolder}/**"

并重新启动工作室后,它再次提出了建议。

Noticed that I have stuck icon in bottom right corner of VS Code that was saying "Updating IntellISense". Googled on that, as it happens some people also were having similar issue. Apparently intelisense were stuck parsing big folder, and after I removed second * from

"includePath": [
            "${workspaceFolder}/**"

and restarted Studio it begun showing suggestions again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文