Intellisense tip and XML returns comment (VS2008)

2019-01-27 20:29发布

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

2条回答
仙女界的扛把子
2楼-- · 2019-01-27 21:00

Intellisense cannot display RETURNS statement indeed.

I have found ReSharper can do that!

查看更多
该账号已被封号
3楼-- · 2019-01-27 21:09

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

查看更多
登录 后发表回答