Friday, April 10, 2009

Enable ignore spaces for Team Foundation Server (TFS)

I was a big fan of windiff back in the pre VS 2003 days. When I got the new diff tool with Team Foundation Server and VS 2005 & 8 I though it was pretty good... Until I realized that there were no configuration items on the UI. I loved the ignore spaces option, so I didn't have to see lines that were spaced differently. Today I found a great post on the command line options for TF.exe (the TFS command line tool). Real TFS Command Line Help One of the options is to ignorespace. There's also an ignoreeol.

Just set these settings in the Configure Tool as show in the pic above.
Extensions: .*
Operation: Compare
Command: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\diffmerge.exe
Arguments: %1 %2 /ignorespace /ignoreeol

0 comments:

Post a Comment