Customize C# Standard Document Generators (XML Comments) in Visual Studio

后端 未结 3 667
无人及你
无人及你 2021-01-13 09:56
  • Is there any other kind of documentation generator shortcuts for C# (like /// Generates function() Code) or any tool item (like sign
3条回答
  •  一向
    一向 (楼主)
    2021-01-13 10:13

    One of the tools that let you customize the default XML comment is our VSdocman. You can pre-define the comment for each code element type (method, property, ...) and even for particular name or type. It's called comment templates. Then in the code editor, right-click and select "Add XML comment". In addition, you can generate a documentation (HTML, CHM, docx, VS help, ...) from your comments with the tool.

提交回复
热议问题