记录德尔福 [英] Documenting Delphi

查看:132
本文介绍了记录德尔福的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一个很好的工具来扫描Delphi项目和组织单位,表单等。也许可以下到程序级别,并输出到Word或RTF。



这将允许我得到一个大型产品的第一个剪切文件。

解决方案

我认为最好的记录工具delphi是 PasDoc



除了为您提供一个HTML或CHM文档,其中包含您所有代码的所有类,方法和属性的非常好的结构化索引,它允许代码注释如下:

 {
@abstract(连接两个字符串)
@param(AStringA要连接的第一个字符串)
@param(AStringB连接的第二个字符串)
@returns(连接字符串)
}
函数Concatenate(AStringA,AStringB:string):string;

这里你有输出文档为PasDoc本身支持的标签下载页面。它也开源,我显然是用Delphi写的


Is there a good tool for scanning a Delphi project and organising the units, forms etc. Maybe it could go down to procedure level and say output to Word or RTF.

This would allow me to get a first cut documentation going for a large product.

解决方案

I think the best tool for documenting delphi is PasDoc.

Apart from providing you with an HTML or CHM document with a very well structured index of all the classes, methods and properties you have on your code, it allows for code comments like this:

{
@abstract(Concatenate two strings)
@param(AStringA The first string to concatenate)
@param(AStringB The second string to concatenate)
@returns(The concatenated string)
}
function Concatenate(AStringA, AStringB : string) : string;

Here you have the output documentation for the PasDoc itself., supported tags and the download page. It also open source and I obviously, written in Delphi

这篇关于记录德尔福的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆