Intellisense tip and XML returns comment (VS2008)

匿名 (未验证) 提交于 2019-12-03 09:06:55

问题:

I've found tooltips displayed by Intellisense when keying method name as very usefull but I can see only summary and params info - no returns comments

Eg - I can not see below comment:

  Enriched object

Is it a way to make it visible?

EDIT

Maybe you know the tool replacing standard Intellisense and displaying returns section

回答1:

Intellisense cannot display RETURNS statement indeed.

I have found ReSharper can do that!



回答2:

You can only see this in the compiled xml help. Intellisense only displays the method description. So it's a best practice to describe your method as "Returns xyz ...".



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!