Intellisense tip and XML returns comment (VS2008)

喜欢而已 提交于 2019-11-28 07:27:52

问题


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:

 <returns> Enriched object</returns>

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 ...".



来源:https://stackoverflow.com/questions/1006042/intellisense-tip-and-xml-returns-comment-vs2008

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