Tuesday, February 12, 2008

Beyond Compare File Comparison Rules

I was comparing two versions of my code. The right side of my comparison had tabs the left had spaces. Visual Studio 2005 must have put them in there. Beyond Compare (BC), highlighted the differences.

I made BC ignore leading whitespace in the "Everything Else" rule set by going to the Tools/Edit Current Rules/ menu. In the importance tab check "Leading whitespace". The right side was much more indented than the left. I fixed this my going to the General tab and choosing 4 characters = tab stops.

Now BC shows me only the important differences in my code versions.

You can pick rules by using the Tools/Pick Rules menu. I don't know why it did not pick VB when I was comparing two *.vb files.

I am using Beyond Compare version 2.4.3 (build 243).

1 comment:

Anonymous said...

Thanks. This helped me alot :-)

Eli