Maciej
Maciej

Reputation: 10805

Intellisense tip and XML returns comment (VS2008)

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

Upvotes: 10

Views: 1063

Answers (2)

Maciej
Maciej

Reputation: 10805

Intellisense cannot display RETURNS statement indeed.

I have found ReSharper can do that!

Upvotes: 7

Gerrie Schenck
Gerrie Schenck

Reputation: 22368

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

Upvotes: 4

Related Questions