Search code examples
xmldelphidelphi-2010comments

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>

Solution

  • 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).