A Cube template, example or whatever contains around 150 files. I don't think that each of them is edited for every project but some of course are. When trying to use those examples the user should know what files to look or where to find them.
I use a file manager, and static source analysis tools.
Can they help finding differences in files. Especially with files from CubeMX. I think part of the problem is that there are project (application, example, template) specific, family specific, board files and so on. Finding a baseline for comparison will be hard.
"I use a file manager, and static source analysis tools." Can you name a few simple examples?
Edit: I think this expalins a part why I am asking this:
CubeMX examples are not examples
"The question is of the form "why can't the compiler compile itself?", and relates to the rather poorly executed transition from a working library to one where the "code/example" generation tool doesn't infact generate the code required, and deviates from the manner in which the supplied "examples" do, and does so in a way that "merging" code from one to the other is neither practical or functional."
Combining examples is hard when changes are spread over many files.
ZTree, ZTreeWin - Wikipedia
Araxis Merge, Araxis Merge – Advanced 2 & 3-way file comparison (diff), merging and folder synchronization
Understand C/C++ https://scitools.com/
Retrieving data ...