How to “automatically” remove unused units from uses clause?

前端 未结 2 2073
粉色の甜心
粉色の甜心 2020-12-23 18:12

Does anyone know about a utility, that can automatically detect and remove unrequired units from the uses clause?

Preferably it ..

  • can b
2条回答
  •  滥情空心
    2020-12-23 18:54

    Try using the "Uses Unit Cleaner" Wizard from CnPack you can download from here

    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

提交回复
热议问题