0

在单行 vars defs 上使用 ghostdoc 时,例如

public const string DbCatName = "test";

ghostdoc 添加了一个默认标题,如:

/// <summary>
/// 
/// </summary>

但我喜欢拥有的是

/// <summary></summary>

有人知道怎么做这个吗?

4

2 回答 2

0

据我所知,您无法让 GhostDoc 为您执行此操作 - 我相信它使用的格式几乎是固定的。[编辑:看来它现在可能在 GhostDoc Pro 中成为可能]

我的插件,Atomineer Pro Documentation将完全按照您的要求进行 - 它有很多首选项来控制注释的格式、缩进和自动换行的几乎所有方面。

于 2010-09-26T22:04:47.033 回答
0

您需要的是具有“XML 注释模板 (T4) 对您的 XML 文档内容和样式的完全控制”的 GhostDoc Pro

来自http://submain.com/products/ghostdoc.aspx

于 2012-02-02T09:20:03.090 回答