Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 KeySmith Jun 3 '14 at 13:39
    
@AlexKey superuser.com/a/522468/98191 – Royi Namir Jun 7 '14 at 9:01
    
Thanks @RoyiNamir I completely forgot about that plugin. – Alex KeySmith Jun 9 '14 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .