I am trying to compare two files from different branches but there is a lot of differences due to tab characters in one file. How can I tell eclipse cvs plugin that ignore the tab spaces when doing the comparison?
Remove trailing whitespaces To force Eclipse to remove all trailing whitespace: Go to Window > Preferences -> Java -> Editor -> Save Actions. Then Additional Actions -> Configure -> Code > Organizing tab -> Formatter. Check Remove Trailing Whitespace.
Check the option " General > Editors > Text Editors > Insert spaces for tabs ": if unchecked, it will display tabs, not space.
There should be a setting to ignore whitespace, which includes tabs. Go to Preferences and then search for Compare. There should be a setting to ignore whitespace.
It will be in Preferences->General->Compare/Patch. Check the "Ignore White space" option.
Right click on the file and just select Ignore White space
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With