2

I want to write a wrapper class for the set of existing classes. When I go to the definition of existing class it shows meta-data file with comments like

     // Summary:
     //     This is Test comments

As I am writing the wrapper class it has mostly same functions & I want to use existing comments in my wrapper class. The problem is that it does not show the comments in documentation style like

             /// <summary>
                    /// This is test comment
                    /// </summary>

Is there any tool to convert first comment type into second or view the meta-data file with summary comments only?

Atul Sureka

Atul Sureka
  • 3,085
  • 7
  • 39
  • 64

1 Answers1

4

If you open both files together then you could use GhostDoc to add the XML comments (Ctrl-Shift-D) and then copy/paste the actual comment between the tags that GhostDoc creates for you. Not quite automatic but shouldnt be too bad.

Leom Burke
  • 8,143
  • 1
  • 35
  • 30
  • The Pro version have API and customized templates written in C# or VB, which may be overkill for this task but that's what I was looking for. – Oleg Kolosov Jan 16 '12 at 11:42
  • @Bazurbat - It does, it also allows you to comment whole files/classes which is helpful. – Leom Burke Jan 16 '12 at 11:50