关于DelForExp(DelForEx)的说明 (Description)
DelForExp(DelForEx) 是一个自由软件(FREEWARE),是一个 Delphi/Pascal 源代码格式化 (美化代码格式,增加代码可读性) 工具。
| |
国内大多数网站在使用和转载的时候都使用了DelForEx 做为它的名字,但是官方网站提醒您,它的真正名字是 DelForExp 。 |
|
她的改进针对:
她可以分析处理源代码,并且可以处理很多特殊结构的代码,这些都已经经过测验。默认情况下,源代码将转换成Borland源代码风格。她提供更多的风格供选择。但是格式化Pascal代码是存在着一些争议的(参见below)。
因此,一些模棱两可的规则将包含在这个工具中。DelForExp(DelForEx)
专家(Expert) 目前支持 Delphi 2/3/4/5/6/7/9 。她可以随意的处理当前打开的工程(Project)。英文版 高级选项窗口
The box with the additional options
Delfor 是 DelForExp(DelForEx)的独立版 ( DelFor, the standalone version of DelForExp )
DelFor是DelForExp的独立应用程序。她以较高的优先级嵌入到Delphi的代码编辑器中。他可以很容易的自动打开并处理更多的文件,甚至遍历整个项目(Project),或者通过多文件选择对话框选择要处理的文件。这个程序的代码格式化引擎和DelForExp是一样的。
在Delphi 的 IDE 环境下,你可以通过 Tools 菜单 来启动这个程序,但是首先我们要把它添加到IDE环境中去:
| |
- 点击 Delphi “Configure Tools” 菜单
- 点击 “Add”
- 输入一个标题,例如“DelForExp”
- 输入代码格式化专家应用程序的完整路径(可以点击浏览按钮来找到她)
- 输入必要的参数:$EDNAME $SAVE (Delphi 保存保存当前编辑窗口并用DelFor打开那个文件。)
- 确定并关闭配置窗口
|
|
编辑器使用了一个自由软件控件:mwEdit(现已经更名为SynEdit,可以下载她们的最新版本)
。
有问题关于 DelForExp(DelForEx) ?看看我们的问答集吧。
下载 (Downloads)
更新 (What is new?
)
- Version 2.4.2 (August 2001):
- Instead of moving //-comments (being a continuous source of bugs) these
comments are changed in {}-comments
i.e. the code:
if t // comment
then k;
is now changed into:
if t {// comment} then
k;
- Version 2.4:
- The engine is in a DLL now, other source code is free.
- Some bug fixes
- Version 2.3:
- Delphi 5 support
- More detailed options for spacing
- Preview window
- Break between every unit in "uses"
- Some bug fixes
- Version 2.2:
- Delphi 4 support
- New language elements of Delphi 4 supported
- Some bug fixes
Delphi 编码标准 的相关连接 (Links to Delphi coding standards:
)
-
The "Borland style", required for contributers to the
JEDI project.
- Econos
(based on 'Delphi Developers Guide')
- Orange County
Delphi Users Group
- Other standards...
- More
links...
联系作者 (Contact with the author)
作者: Egbert van Nes
邮件: Egbert.vanNes@wur.nl
其他控件: TExpressionParser, 一个用于正则表达式分析的自由软件 (控件)。 a freeware
expression parser with source.
我们鼓励您进行Bug报告,有什么问题,请先查阅我们的问答集。You are encouraged to send bug reports, if you have questions, please check the
FAQ first. |