显示在智能感知异常? [英] Show exceptions in intellisense?

查看:207
本文介绍了显示在智能感知异常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Visual Studio 2013旗舰版。

I'm using Visual Studio 2013 Ultimate.

在C#code编辑器,成员,记录了异常可通过智能感知列出:

In the C# code editor, members that has documented exceptions can be listed through Intellisense:

输入图像的描述在这里

我的问题是,如何添加这个非常有用的功能为VB.Net?

My question is, how to add this useful feature for VB.Net?.

有没有第三方的扩展来添加呢?

Is there a 3rd party extension to add it?.

为什么在VB.Net这个功能似乎不可用?

Why this feature seems unavailable in VB.Net?.

请注意,我不问如何增加了XML文档的潜在异常的一员,我问的是如何启用智能感知,以显示这些例外,因为C#code编辑器可以显示异常在智能感知(因为我共享图像中看到的那样),但VB.Net code编辑器,似乎不能

Please note that I'm not asking how to add Xml documentation for a potential exception in a member, what I'm asking is how to enable Intellisense to show those exceptions, because the C# code editor can show exceptions on Intellisense (as seen in the image that I shared), but the VB.Net code editor seems CAN'T.

和不仅是我自己的记录异常,只是我说的是那些已经记录在.NET Framework类库的成员这些例外(再次作为我共享图像中看到的那样)。

And not only my own documented exceptions, just I'm talking about those exceptions that are already documented in the members of .Net Framework class library (again as seen in the image that I shared).

推荐答案

由于VS2015已经采取了这一功能,走我很怀疑VB.NET将可以通过任何变通办法或第三方的方法来支持这个在VS2013。

since VS2015 has taken this feature away I doubt very much that VB.NET will be able to support this in VS2013 via any work-arounds or third party method.

另请参见<一个href="https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/9394263-show-exceptions-in-intellisense"相对=nofollow>以特色了参考在C#中VS2015这不利于用VB.NET,但我怀疑,当他们增加了额外的功能,VS2015的功能,用于显示异常是不可能的了。

See also reference to feature gone in C# for VS2015 which does not help with VB.NET but I suspect when they added additional features to VS2015 that the feature for showing exceptions was not possible anymore.

这篇关于显示在智能感知异常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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