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 4.6k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Offline
                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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors