Board index » delphi » Experimental MM Structured Diff Viewer:: Class Difference mode
Gerrit Beuze
Delphi Developer |
Experimental MM Structured Diff Viewer:: Class Difference mode2005-03-04 02:46:34 AM delphi273 Hi all, When restructuring code, I often need to compare two classes. Usually in two different files (when comparing two versions), sometimes even with different names (when reorganizing the class hierarchy). An experimental MM Structured Difference Viewer with a "Class Diff" mode can be seen at modelmakertools.com/betas/classdifference.gif This screenshot shows the structured difference for two classes: TCSharpEcoGenerator in unit CSEcoGen.pas TPascalEcoGenerator in unit PascalEcoGen.pas Structured difference means: the diff does not care about actual method position or white space. Just syntactical changes are taken into account. The navigation tree shows the members that are + "new", for example field FClassImplementation - "deleted", for example method GenerateClass <>"changed", for example the selected method Wri{*word*249}dPntAttr The diff pane on the right shows the details for the selected changed member. In this case the method Wri{*word*249}dPntAttr. This allows traces changes between different classes in different files;-) It still needs some work to do (mainly GUI: how would you define which two classes to compare??) but the result could be interesting. If you're interested in tyring this when a beta is available, let me know. Gerrit Beuze ModelMaker Tools www.modelmakertools.com gerrit>>[ at ]>modelmakertools <* dot =>com // remove non alpha chars |