Intellisense tip and XML returns comment (VS2008)

2019-01-27 20:50发布

问题:

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