{"id":10411,"date":"2006-09-08T08:11:00","date_gmt":"2006-09-08T08:11:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/bharry\/2006\/09\/08\/configuring-the-new-treediff-power-toy\/"},"modified":"2018-08-14T00:34:59","modified_gmt":"2018-08-14T00:34:59","slug":"configuring-the-new-treediff-power-toy","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/bharry\/configuring-the-new-treediff-power-toy\/","title":{"rendered":"Configuring the new TreeDiff Power Toy"},"content":{"rendered":"<p>Someone asked me in a comment on my post announcing the new TFS Power Toys if there was any way to make it ignore certain files (like .obj files).&nbsp; The answer is yes.&nbsp; Rather than respond directly in a comment I decided to write a new post about it because there&#8217;s more you can configure.\nIf you run regedit.exe and look in:\n<strong>[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\TeamFoundation\\PowerToys\\TreeDifference]<\/strong>\nyou&#8217;ll see a variety of TreeDiff settings.&nbsp; Including:\n<strong>[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\TeamFoundation\\PowerToys\\TreeDifference\\NonRelevantMasks]<br \/><\/strong>\nFileExtensions=*.pdb;*.obj;*.dll;*.exe;*.res;*.resources;*.cache;*.ilk<br \/>FolderExtensions=obj;objd\nThese settings allow you to configure files and\/or folders that TreeDiff will ignore when doing comparisons.&nbsp; Unfortunately, there is a bug that results in a mismatch in the default setting of this registry value and the code that interprets it.&nbsp; The FileExtensions value needs to be manually changed to:\nFileExtensions=.pdb;.obj;.dll;.exe;.res;.resources;.cache;.ilk<br \/>\nWith the proper FileExtensions setting (and the already set default FolderExtensions setting), tree diff will skip comparing and files with .pdb, .obj, .dll, .exe, .res, .resources, .cache, .ilk extensions or any file what-so-ever under a folder called obj or objd.\nAdditional settings in the registry include:\n<strong>[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\TeamFoundation\\PowerToys\\TreeDifference\\Colors]<\/strong>\nThere are a variety of values here that allow you to customize the colors tree diff uses to highlight differences.&nbsp; The names of the values are fairly self explanatory, so I won&#8217;t list them here.\n<strong>[HKEY_CURRENT_USER\\Software\\Microsoft\\VisualStudio\\8.0\\TeamFoundation\\PowerToys\\TreeDifference\\ViewOptions]<\/strong>\nControls what kinds of comparison results get displayed (e.g. files that match, files that don&#8217;t, files only in the source, files only in the target).&nbsp; You don&#8217;t really need to mess with these registry keys as they can all be set from the right click menu in Tree Diff.<br \/>\nBy the time this feature makes it into the shipping product, I expect that we will have UI to configure all of these values.&nbsp; We just figured you&#8217;d like to use this feature before we got that far \ud83d\ude42\nHave fun,<\/p>\n<p>Brian<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone asked me in a comment on my post announcing the new TFS Power Toys if there was any way to make it ignore certain files (like .obj files).&nbsp; The answer is yes.&nbsp; Rather than respond directly in a comment I decided to write a new post about it because there&#8217;s more you can configure. [&hellip;]<\/p>\n","protected":false},"author":244,"featured_media":14617,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"blog_post_summary":"<p>Someone asked me in a comment on my post announcing the new TFS Power Toys if there was any way to make it ignore certain files (like .obj files).&nbsp; The answer is yes.&nbsp; Rather than respond directly in a comment I decided to write a new post about it because there&#8217;s more you can configure. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/10411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/users\/244"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/comments?post=10411"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/10411\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media\/14617"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media?parent=10411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/categories?post=10411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/tags?post=10411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}