Subject: how to use uses cleaner? [Print This Page] Author:
MerijnB Time: 2009-9-7 21:15 Subject: 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,
MerijnAuthor:
MerijnB Time: 2011-12-15 19:50
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?Author:
Passion Time: 2011-12-20 17:15
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.