CnPack Forum


 
Subject: how to use uses cleaner?
MerijnB
新警察
Rank: 1



UID 43403
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-9-7
Location Netherlands
Status Offline
Post at 2009-9-7 21:15  Profile | Blog | P.M. 
how to use uses cleaner?

Hi,

the uses cleaner seems a very interesting option, I can't really get it to work though.
It seems to skip a lot of units in my project, if I have one of these units active in the IDE and go to the unit cleaner, the options 'current unit (1)' is disabled.
How can I fix this?

regards,

Merijn
Top
MerijnB
新警察
Rank: 1



UID 43403
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-9-7
Location Netherlands
Status Offline
Post at 2011-12-15 19:50  Profile | Blog | P.M. 
I never got an answer to this, but by now I realise that the uses cleaner will only take the units in account which are entered in the .dpr file.
In most of my projects, the units are used thoughout the sources, can the uses cleaner get an additional option which allows to use it in this way too?
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2011-12-20 17:15  Profile | Blog | P.M. 
Uses cleaner actually only processes the units it can find from dpr or group.

For those in search path, we can only open them first and use "Opened units" to deal with it.
Top
 




All times are GMT++8, the time now is 2024-11-24 07:13

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.014372 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP