delphi - 如何 "automatically"从uses子句中删除未使用的单元?

标签 delphi delphi-2010

有人知道有一个实用程序可以自动检测并删除 uses 子句中不需要的单元吗?

最好是..

  • 可以针对一个单元和/或一个项目运行
  • 免费且可与 Delphi 2010 配合使用

提前致谢。

最佳答案

尝试使用 CnPack 中的“使用单元清洁器”向导您可以从here下载

alt text

另一个选项是使用 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

关于delphi - 如何 "automatically"从uses子句中删除未使用的单元?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2200250/

相关文章:

.net - Delphi 2010 和 .net

delphi - 为什么我在 64 位 Windows 8 上从 GetModuleFileNameEx 得到的信息是无意义的?

delphi - Delphi XE2/XE3和Windows 8平板电脑/手机

delphi - Delphi 中的 TCPclient.connected 问题 - Indy

html - 我可以在 Delphi 和 HTML 中使用多列 Radio 组吗?

Delphi 7 与 2009(和 2010)相比记录大小

delphi - 将 AnsiString 转换为 Unicode 字符串

delphi - Delphi 2010 好评如潮

delphi - 在 D2007 中将 Unicode 流转换为字符串列表

android - facebook AppInviteContent : The SDK has not been initialized, 确保先调用 FacebookSdk.sdkInitialize()