how can i filter all the java comments in winmerge?
/**
* javadoc comment
**/
// line comment
These are the lines I would like to filter out?
Maybe this can help: (Winmerge 2.14.0.0 Unicode)
From Edit menu, goto Options.
In the opened window, go to on the categories on the left, select Compare then General.
On the right, you'll see a fieldset named Comments
. Click the checkbox left to Filter Comments
.
Click OK
For more details here is what the Winmerge documentation says about this option:
3.8. Filter Comments
Disabled (default): WinMerge compares comments in code, along with other content.Enabled: This option optimizes comparisons by detecting comments in certain programming language file types (such as C++ and Java), and ignoring them.
The recognized file types and their comment markers are defined in the file, IgnoreSectionMarkers.ini, at the top of the WinMerge installation directory.
On the other hand, you can filter out the comments only files:
File > Open...
From the opened window, set the Filter:
field as you want. Look below: