Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Style XML Comments in Delphi 2010

does Delphi 2010 have C# Style XML comments that show up when hovering over the method call?

/// <summary>
/// My comment here
/// </summary>
like image 675
Stefan Schultze Avatar asked Mar 09 '10 10:03

Stefan Schultze


1 Answers

I just tried it in D2007 and it works. I put your test comment above a method declaration (inside the class declaration) and rebuilt. When you now hover over a call to that method you'll see "My comment here" inside the tooltip.

You must have that HTML evaluation thingie enabled for this to work. See Options -> Editor options -> Code Insight -> Symbol description (translated fron a German IDE).

like image 117
Uli Gerhardt Avatar answered Sep 23 '22 14:09

Uli Gerhardt