The last program for cleaning up the mess in my projects is done

After launch, the program looks something like this. It shows 2 columns, each pairing up projects with the same name side by side. If there are more projects with the same name, the status bar at the bottom says “Repeat the search when finished” – in other words, once the projects the user selects are removed, the search is run again, and if no project is found with more than 2 occurrences anymore, the status bar says “You no longer need to repeat the search“. The program can work with an unlimited number of project folders. If the projects are on a hard drive, the path starts with, for example, P3 (3 means the 4th specified project folder); for removable devices it is A2 (again, 2 is the folder’s position number).

The numbers after the project path (here they are always 0/0, because I turned off loading all files and checking whether they are broken while I was fine-tuning the program) show how many source files the project has in total and how many of them are broken.

1image

Clicking the button or pressing Enter shows a list of files. If you select a file that also exists in the second project, the contents of both files are displayed.

If the file is not in the second project folder, the second project’s textBox will be empty.


0image

Pressing the button shows me the files that were broken in one project and fine in the other. Files that were broken in both projects or fine in both projects are not shown.

Categories

Leave a Reply