Delphi Formatter

Introduction

Delfor is a customizable source code formatter. It can improve the indentation, spacing, capitalization and the use of blank lines of Delphi 5.0 source code. To do so the source code is parsed and lots of special constructs are tested. At default, the style of the Borland source code is followed closely, since this is the most widely accepted style. But formatting of Pascal code is much a matter of taste and debate. Therefore, some alternative rules are included.

DelFor is available as Delphi 2, Delphi 3, Delphi 4 or Delphi 5 expert. It can optionally process the whole currently opened project.

用途:

写完代码之后复制到网页上就变样了?这是编码的问题,如果你常用Tab则很可能发生。这个工具可以把Tab字符转换为空格,这样复制后就和复制前是一样的。 :cool:

这个工具还能美化语句,比如在”=”前后加空格,还支持批量转换,很实用。

界面展示:

下载:

如果你在阅读器中看到的文章显示不全,无法下载,请点击http://greenmoon55.com/delphi-formatter/ 查看完整版本。


comments powered by Disqus