【发布时间】:2013-02-27 23:51:03
【问题描述】:
我有一段需要认真记录的代码,我想问一下 Embarcadero Delphi 是否可以使用类似于 C#/.NET 的 In-code XML-Documentation 的功能。 我的目标是显示一些关于如何正确使用特定方法的信息,就像在 Delphi XE3 的自动完成中突出显示的那样。
类似这样的东西(C#):
/// <summary>
/// Some useful information helping other developers use this method correctly
/// </summary>
public static void ADocumentedMethod();
Delphi XE3 是否支持这样的功能?
感谢您的阅读。
【问题讨论】:
-
你有哪些 Delphi XE3 发行版?请您将这些信息包含在您的问题中吗?
-
@TLama 应该没关系,AFAIK /// XML-doc 自 D2010 以来可用,所有 SKU,虽然它似乎有点错误......
-
@ain,我说的是
Documentation Insight,据我所知,在更便宜的 Delphi 发行版中存在很大的限制,不是吗? -
它也可以在 Delphi 2009 中使用。
标签: delphi documentation xml-documentation