Visual Studio 2022 Intellisense XML文档开始失败
我一直在Visual Studio 2022中从事一个长期且令人费解的C ++项目,因此我一直在确保对大多数功能的XML文档摘要进行评论,并一直在使用XML文档摘要。
这些摘要在编写函数时应该显示在Intellisense中,然后在该参数的位置时应显示参数摘要。
直到今天,一切都很好,它总是很芬兰,但大多是奏效的。但是,今天一切都停止了,所以我尝试按照过去帖子的一些建议,打开或关闭XML文件的生成,C ++的参数信息以及重新启动Visual Studio。什么都没有修复。
我设法找到了我的代码的一个随机部分,其中摘要出于某种原因出现,但即使在那里,它们也是错误的。
有人知道有任何解决此问题的方法吗?我真的需要这些摘要。
I've been working on a long and convoluted C++ project in Visual Studio 2022, so I've been making sure to comment as much as possible and have been using the XML documentation summaries for most every function.
These summaries are supposed to show up in IntelliSense when writing the function, and then the parameter summaries should show up when in the spot for that parameter.
Up until today everything had been working pretty much fine, it was always finnicky, but mostly it worked. Today however it all stopped showing up, so I tried following some recommendations from past posts, turning on or off the generation of an XML file, parameter information for C++, and restarting Visual Studio. Nothing has fixed it.
I have managed to find a random portion of my code in which summaries show up for some reason, but even there they're the wrong ones.
Does anyone know of any way to fix this issue? I really need these summaries.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在工具中检查设置>选项>文本编辑器> c/c ++>高级Intellisense:

如果它不起作用,则可以尝试在工具下重置所有设置>导入和导出设置
You can check settings in Tools > Options >Text Editor >C/C++ > Advanced > Intellisense:

If it doesn’t work you can try to Reset all settings under Tools > Import and Export Settings