Visual Studio不再显示IntelliSense描述 [英] Visual Studio not showing IntelliSense descriptions anymore

查看:200
本文介绍了Visual Studio不再显示IntelliSense描述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自一个月前以来,当我用鼠标悬停时,我的VS似乎不想在任何系统方法或类的工具提示中显示摘要信息。



<我安装了ReSharper并开始注意到这个问题。我假设ReSharper禁用了默认方法描述,所以我没有进一步考虑它,只考虑它只是一个烦恼。



删除ReSharper后,问题坚持。



VS现在只显示我自己的方法的说明,我添加了一个< summary> 标签for和来自NuGet包的任何描述,但不是系统方法,如 Where Encoding.GetString 等。





我尝试修复VS,重置设置,取消/选中选项>文本编辑器>常规中的复选框,但无济于事。



是否有人遇到类似问题?

解决方案

这看起来更像是一个框架问题,而不是VS / R#问题。如果其中任何一个都无法加载描述字符串,则可能意味着缺少描述XML文件。



检查是否在以下位置看到XML文件:



C:\Program Files(x86)\ Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2



如果不这样做,请重新安装框架以解决问题。



链接到 .NET Framework 4.5.2开发人员包 https://www.microsoft.com/en-us/download/details.aspx?id=42637


Since a month ago, my VS doesn't seem to want to display the summary info in tooltips for any system methods or classes when I hover them with my mouse.

I had ReSharper installed and started noticing this problem. I assumed that ReSharper disabled the default method descriptions, so I wasn't thinking much further about it, only considering it a mere annoyance.

After removing ReSharper though, the problem persisted.

VS now only shows descriptions for my own methods which I've added a <summary> tag for and any descriptions from NuGet packages, but not system methods like Where, Encoding.GetString, etc.

I've tried repairing VS, resetting settings, un-/checking checkboxes in Options > Text Editor > General, but to no avail.

Has anyone had a similar problem?

解决方案

This looks more like a framework issue rather that a VS/R# issue. If neither one of them can load the description strings, it probably means the description XML files are missing.

Check if you see the XML files in:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2

If you don't, then reinstall the framework to fix the issue.

Link to .NET Framework 4.5.2 Developer Pack: https://www.microsoft.com/en-us/download/details.aspx?id=42637

这篇关于Visual Studio不再显示IntelliSense描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆