如何“自动”从使用条款中删除未使用的单位? [英] How to "automatically" remove unused units from uses clause?
问题描述
最好可以在单位和/或项目中重新运行。
2010年。
提前感谢。
尝试使用使用单位清洁向导从 CnPack ,您可以从 here
alt text http://i46.tinypic.com/30uts89.png
另一个选项是使用 ICARUS 。
ICARUS是Pascal
分析器的一小部分。它解析Delphi或Borland
Pascal源代码,并在
中生成
不需要的单元引用列表您的用途列表
alt text http://www.peganza.com/images/IcarusScreen.jpg
Does anyone know of a utility that can will automatically detect/remove unrequired units from the uses clause?
Preferably it can be run againt a unit and/or a project.
Preferably free and works with Delphi 2010.
Thanks in advance.
Try using the "Uses Unit Cleaner" Wizard from CnPack you can download from here
alt text http://i46.tinypic.com/30uts89.png
Another option is use ICARUS.
ICARUS is a small subset of Pascal Analyzer. It parses Delphi or Borland Pascal source code and generates a list of unneeded unit references in your uses lists
alt text http://www.peganza.com/images/IcarusScreen.jpg
这篇关于如何“自动”从使用条款中删除未使用的单位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!