开发者

How to detect useless Delphi units in the interface and implementation uses clauses? [duplicate]

开发者 https://www.devze.com 2023-01-19 01:21 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: How can I identify and get rid of unused units in the “uses clause” in Delphi 7 ?
This question already has answers here: Closed 12 years ago.

Possible Duplicate:

How can I identify and get rid of unused units in the “uses clause” in Delphi 7 ?

Is there a wizard/tool to automatically detect all useless units?

If in the current unit I "use classes" but in practice I don't need it I can of course manually remove Classes. But how can I do this automatically for all units in a project? Is t开发者_高级运维here a way different than "delete one, try to compile, if succesful save"?

Of course often what happens is that you drop a component on the form, some units are added, you delete the component and the units are not removed.

Or I refactor code, I move some classes in another unit.


Icarus - Uses List Analyzer for Delphi

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号