How can I erase the files which are no longer used in a project?
Is there any utility which lists the files referenced in a project file and/or all subordinated *.ph and *.pack files and compares it with the list of the files of the project folder and its subfolder?
-
- VIP Member
- Posts: 215
- Joined: 24 Apr 2007 12:26
Garbage collection from a project
TIA, Regards,
Frank Nagy
Frank Nagy
-
- VIP Member
- Posts: 1466
- Joined: 28 Feb 2000 0:01
If you right click your project folder (in the IDE vip 7.5) you can select Analysis & Refactor -> View Unused Items.
Be sure to have a back-up before playing with things like this. Also only trust the information it the window if you program can build (in fact it may be a good idea to start with a Rebuild all).
Be sure to have a back-up before playing with things like this. Also only trust the information it the window if you program can build (in fact it may be a good idea to start with a Rebuild all).
Regards Thomas Linder Puls
PDC
PDC
-
- VIP Member
- Posts: 458
- Joined: 5 Nov 2000 0:01
Re: Garbage collection from a project
I open Windows explorer (right click on one of the items to delete), rename the files to be deleted (e.g., from myTools.pro to myTools. pro deleted). As soon as I do that, the IDE marks the files with a red X. When you rebuild the project the files are deleted from the project tree. They can be moved to another directory or deleted from the disk at another time of your convenience.Ferenc Nagy wrote:How can I erase the files which are no longer used in a project?