Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have this comparison :

http://i.stack.imgur.com/bZej7.jpg

I want those line to be treated equal.

but it showes me they are different.

I already applied those settings :

http://i.stack.imgur.com/n2be9.jpg

http://i.stack.imgur.com/bzjQa.jpg

What am I doing wrong ?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

I'm afraid it is not possible: http://stackoverflow.com/questions/10092538/how-to-ignore-line-breaks

even if you're ignoring line breaks, it won't treat the non-ignored text on separate lines as being continuous across line breaks.

share|improve this answer
    
you right. look at my answer –  Royi Namir Jan 29 '13 at 16:05

this is not possible

I got an email from the company itself :

Sorry, it isn't possible to ignore line breaks.

This means:

one two

and

one
two

will always show as differences.

Comparison across line breaks is on our wish list for a future version of Beyond Compare.

Best Regards, Chris Kennedy Scooter Software

share|improve this answer
    
It would be especially useful for diffing xml, where the line break doesn't matter (ish). –  Alex Key Jun 3 at 13:39
    
@AlexKey superuser.com/a/522468/98191 –  Royi Namir Jun 7 at 9:01
    
Thanks @RoyiNamir I completely forgot about that plugin. –  Alex Key Jun 9 at 8:14

I was also hoping that beyond compare would have something like this built in. Looks like it doesn't.

The best solution I have found to do this is to use some kind of code formatter on both sides. This allows you to compare real changes in the code. For javascript, I use JSBeautify.

For Java you could probably use your editor's built in beautifier or something like this: http://prettyprinter.de/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.