Jump to content
Registration disabled at the moment Read more... ×
shineworld

Found and remove unused uses units

Recommended Posts

Hi all,

there is a fast way to identify and so remove the unused uses units ?
During the development process, often, I add the required uses to compile, but after months of development, some units could become unused

and I would like to remove them.

 

At moment, I need to comment one by one and check if the compiler raises an error for the missing unit.


Thank you in advance for reply!

 

Share this post


Link to post

Just comment out a line then save the file. The ones that are needed will be added at the end.

 

No compilation needed.

Share this post


Link to post
49 minutes ago, David Schwartz said:

Just comment out a line then save the file. The ones that are needed will be added at the end.

 

No compilation needed.

That's only true for the uses-clause entries that the form designer manages. (Which is a tiny fraction in my development.)

Edited by uligerhardt
  • Like 1

Share this post


Link to post
44 minutes ago, uligerhardt said:

That's only true for the uses-clause entries that the form designer manages. (Which is a tiny fraction in my development.)

ahh, well then use the Peganza Analyzer Lite. (It used to be called Icarus.) That's what it's for.

  • Like 2

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×