How to select OR bookmark only different (Diff) lines when comparing two text files
-
Hi,
Is there a way to bookmark or select only the differing (Diff) lines after comparing two text files in Notepad++?
I aim to copy out only the differences without having to select each line individually. Manually selecting multiple differing lines is time-consuming and often leads to errors in my work.
Thanks in advance for any help!
-
@ADEYEMI-SAMUEL
Assuming you’re using ComparePlus (which is the compare plugin I would use if I were you), you could make a feature request in that GitHub repository. I looked through the features in ComparePlus, and I didn’t see anything like what you asked for. -
@ADEYEMI-SAMUEL said in How to select OR bookmark only different (Diff) lines when comparing two text files:
Is there a way to bookmark or select only the differing (Diff) lines after comparing two text files in Notepad++?
I aim to copy out only the differences without having to select each line individually.
I don’t know of a way using only Notepad++. I can suggest the free and open source program WinMerge. Compare the two files, select View | Diff Context | 0 Lines and you will see only the lines that are different. Click in the side you want to copy, select all and copy (Ctrl+A then Ctrl+C); you can then paste the result into a new Notepad++ tab.
-
@Mark-Olson , thanks for your response. I actually use ComparePlus, like you said I will make feature requests in GitHub Repository. Thank you once again.
-
@Coises Awesome!. I appreciate your input. Am trying that out now. Thank you once again.
-
@ADEYEMI-SAMUEL this works for me. Appreciated @Coises
-