Replies: 4 comments
-
If you have a recent version of WinMerge, the ability to ignore comment differences should work on *.py files. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick answer ! |
Beta Was this translation helpful? Give feedback.
-
In your case, WinMerge doesn't ignore comments well. However, it's not because it's a .py file, but because it's a limitation of WinMerge's capabilities. You will get the same result with .cpp and .java files. The ability to ignore comments does not work on a line-by-line basis, but on a diff block basis. So if the only difference in the Diff block is the comment, it should work. In your example, selecting the Whitespaces→Ignore all menu item as shown below should work. |
Beta Was this translation helpful? Give feedback.
-
Indeed, it works when ignoring all whitespaces. It doesn't seem to me a consistent behaviour. If you do not want to see the differences in the comments, this should include whitespaces differences. |
Beta Was this translation helpful? Give feedback.
-
Hi,
WinMerges has an option to discard comments from the comparison, which is very usefull.
It actually handles languages like C++ or Java, but does not handle python.
It would be usefull for many people I think that this would be done.
Thank you !
Bona
Beta Was this translation helpful? Give feedback.
All reactions