Replies: 1 comment
-
It doesn't always work, but in this example, enabling the "Match similar lines" option in the Compare / General category of the Options dialog will give you the results you expect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
If I modify a python program to add an extra level of "if" everything underneath has to indent.
With whitespace set to "compare", an indent completely confuses the comparator and all the - otherwise identical - text fails to compare.
However with whitespace set to "ignore" al the text matches but I cannot then see any faulty indents in the rest of the file.
Is there some way of achieving "show indent changes" and "do not lose the plot on indented changes" at the same time?
Its a pain having to run the comparator twice with different setting to do a python file compare.
Others have asked the same question elsewhere. For example:-
https://softwarerecs.stackexchange.com/questions/19538/is-there-a-diff-tool-that-handles-python-indentation-changes
Beta Was this translation helpful? Give feedback.
All reactions