C# XML documentation question

  • Thread starter Thread starter Jeff Johnson [MVP: VB]
  • Start date Start date
J

Jeff Johnson [MVP: VB]

[I got no response in the vsnet.ide group so I'm asking here.]

When you type /// in the editor in a C# source file, a comment block is
created as soon as the last slash is typed. Is the format of the output
(i.e., the generated template) hard-coded into the IDE or does the IDE call
a macro which generates the output? I'm hoping it's the latter, because I'd
like to customize it to add more text. If it is a macro, what's it called
and where do I find it?

Yes, I know, I could create my own macro to do this and call it with a
keyboard shortcut, but I think it would have been very open-minded of the
IDE team to have given us direct control over the /// sequence itself.
 
Jeff, I saw your post in the IDE forum but didn't know an answer.
Searching the VS.NET installation directory for "</summary>" gives no
hits other than sample code so I'm afraid it's hardcoded.

Personally I'd love to add the <paramref> tag to the recognized tokens
for IntelliSense but that doesn't seem possible either...
 
Back
Top