English 中文(简体)
加上“ 被修改” 的鬼 Doc 注释
原标题:Ghost doc to add "modified by" comment

是否有办法让 幽灵 Doc 修改现有的 XML 注释, 修改方法( 由 幽灵 Doc 编写), 在重新使用该方法运行时添加“ 修改 ” 的行?

I personally think this is what source control is for, but they want to do it in the XML, so it s a new work requirement.

最佳回答

(披露:我所代表的公司 提供幽灵Doc)

我同意你的观点,即"修改" 属于源控制 而不是XML评论。

但是,如果您仍然想用幽灵Doc来完成, 您可以在“ 选项” 中使用硬代码“ 被修改” 。 这不会动态地设定当前日期/ 时间 。

如果您需要当前日期/ 时间选项, 您可以只用 GhostDoc Pro 完成此项 - 使用基于 T4 模板的注释来配置 BCL DateTime 的“ 被修改” 注释/ section 。 现在运行当前运行 。

我希望这能帮上忙

问题回答

暂无回答




相关问题
加上“ 被修改” 的鬼 Doc 注释

是否有办法让 幽灵 Doc 来修改现有的 XML 注释, 修改一种方法( 由 幽灵 Doc 制作 ), 在您重新使用该方法运行时添加“ 修改 ” 线条? 我个人认为这就是来源...

View all TODO items in Visual Studio using GhostDoc

I m also using GhostDoc in Visual Studio 2008. How do I view all to-do items and if that s a function already in Visual Studio or in GhostDoc (the documentation tool that I use)?

Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...

热门标签