How to view code documentation in Visual Studio without opening an external browser instance?

时间:2018-08-22 13:59:15

标签: visual-studio

If I want to see the full documentation for a class or method in Visual Studio, I have to press F1. This opens an external browser window where I can look it up.

Now, I'd like to see the documentation within the IDE, in an integrated window, without having to mess around with a separate browser window. Additionally I'd like the documentation window to update as soon as I switch the cursor to another method/class/etc. This feature is fairly common in the Java IDEs.

Is there any way to achieve this behavior in Visual Studio?

2 个答案:

答案 0 :(得分:2)

您可以安装Help Viewer。另请参见Video

如果已经安装了帮助查看器,请按照here的说明启用它:

  

在安装Visual Studio时,您将获得帮助查看器。要开始在帮助查看器而不是MSDN下载站点上阅读帮助主题,请转到Visual Studio中的帮助菜单,选择设置帮助首选项,然后选择在帮助查看器中启动。给定版本的Visual Studio的离线帮助主题仅在该版本的最终版本之后可用。

当心,下载帮助内容以供离线查看可能会占用大量磁盘空间!

答案 1 :(得分:0)

您可以做的一件事是使用任何方法,并在按住Control的同时单击该方法。它将打开方法或类元数据文件,该文件将给出有关要传递的可用属性和值的信息,同时给出方法/类的摘要。

Screen shot of IIdentityMessageService and what method it implements with a small desciption inside visual studio

相关问题