Community
    • Login

    How to select OR bookmark only different (Diff) lines when comparing two text files

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ADEYEMI SAMUEL
      last edited by

      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!

      Mark OlsonM CoisesC 2 Replies Last reply Reply Quote 0
      • Mark OlsonM
        Mark Olson @ADEYEMI SAMUEL
        last edited by

        @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.

        A 1 Reply Last reply Reply Quote 0
        • CoisesC
          Coises @ADEYEMI SAMUEL
          last edited by

          @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.

          A 1 Reply Last reply Reply Quote 1
          • A
            ADEYEMI SAMUEL @Mark Olson
            last edited by

            @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.

            A 1 Reply Last reply Reply Quote 0
            • A
              ADEYEMI SAMUEL @Coises
              last edited by ADEYEMI SAMUEL

              @Coises Awesome!. I appreciate your input. Am trying that out now. Thank you once again.

              1 Reply Last reply Reply Quote 0
              • A
                ADEYEMI SAMUEL @ADEYEMI SAMUEL
                last edited by

                @ADEYEMI-SAMUEL this works for me. Appreciated @Coises

                1 Reply Last reply Reply Quote 0
                • CoisesC Coises referenced this topic on
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors