Ignore line wrapping differences?
Posted: Mon 18 Jan 2021 18:50
One of the reasons I'm looking at Code Compare is because I've got code that was reformatted by one of the folks who worked on it and I'd like to be able to ignore those differences when comparing.
Here is the simplest example I could create:
File 1:
File 2:
https://imgur.com/a/6X3R2Ml
The only difference is the opening brace that got put on the following line in the new copy.
This gets flagged as a difference, even with ignore white space, ignore line breaks, and structural code comparison enabled.
Is there any way to get Code Compare to not display that as a difference?
Thanks for any help you can offer.
Here is the simplest example I could create:
File 1:
Code: Select all
#include <stdio.h>
int main (int argc, char ** argv) {
printf("Hello World\n");
}
File 2:
Code: Select all
#include <stdio.h>
int main (int argc, char ** argv)
{
printf("Hello World\n");
}
The only difference is the opening brace that got put on the following line in the new copy.
This gets flagged as a difference, even with ignore white space, ignore line breaks, and structural code comparison enabled.
Is there any way to get Code Compare to not display that as a difference?
Thanks for any help you can offer.