Community
    • 登入

    Suggestion: Add the option to show the differences between the loaded file and the saved file

    已排程 已置頂 已鎖定 已移動 General Discussion
    12 貼文 5 Posters 10.5k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • jcrmatosJ
      jcrmatos
      最後由 編輯

      Hello,

      Please consider adding the option to show the differences between the loaded file and the saved file (something like the document map, but for differences).

      Best regards,

      JM

      1 條回覆 最後回覆 回覆 引用 0
      • MAPJe71M
        MAPJe71
        最後由 編輯

        Like change markers?

        1 條回覆 最後回覆 回覆 引用 0
        • Scott SumnerS
          Scott Sumner
          最後由 編輯

          I don’t use the Compare plugin (I use Scooter Software’s Beyond Compare for file compares), but it seems like a Pythonscript could initiate a compare the current (unsaved) version of the file with the most recent “backup” version of the file (assumes the backup feature of N++ is turned on). A lot of supposition here, but…

          1 條回覆 最後回覆 回覆 引用 1
          • Scott SumnerS
            Scott Sumner
            最後由 編輯

            Change markers, from the “Location Navigate” plugin, are a great feature, but I think the OP wants more functionality out of this than just knowing if there was a change on a line or not (he wants to see what the change was…I think).

            1 條回覆 最後回覆 回覆 引用 0
            • YaronY
              Yaron
              最後由 編輯

              Hello all,

              I hope I understand the OP’s request correctly.
              Compare Plugin provides a “Diff since last Save” comparison.

              Pavel Nedev’s development version repo.
              Download the latest built DLL here (thanks xylographe).

              @Scott Summer,
              When did you last try the Compare Plugin? - You’d be surprised. :)

              Best regards.

              Scott SumnerS 1 條回覆 最後回覆 回覆 引用 2
              • MAPJe71M
                MAPJe71
                最後由 編輯

                i.e. needs clarification by OP (@jcrmatos).

                1 條回覆 最後回覆 回覆 引用 0
                • Scott SumnerS
                  Scott Sumner @Yaron
                  最後由 編輯

                  @Yaron

                  I’ve NEVER tried the Compare plug-in…always very happy with Beyond Compare…but I think I just might give it a look now. ;-)

                  It is good to know that the plug-in can do what we think the OP wants to accomplish.

                  1 條回覆 最後回覆 回覆 引用 0
                  • YaronY
                    Yaron
                    最後由 編輯

                    @Scott Summer,

                    To fully appreciate Pavel Nedev’s work you should try an older version first. :)
                    I hope you like it.

                    BR

                    1 條回覆 最後回覆 回覆 引用 0
                    • jcrmatosJ
                      jcrmatos
                      最後由 jcrmatos 編輯

                      Hello,

                      I didn’t know about the Compare plugin.
                      It does what I needed (see the diffs from last save).

                      Thanks.

                      Best regards,

                      JM

                      1 條回覆 最後回覆 回覆 引用 1
                      • YaronY
                        Yaron
                        最後由 編輯

                        @jcrmatos,

                        Great.
                        I’m glad you find it useful.

                        BR

                        1 條回覆 最後回覆 回覆 引用 0
                        • pnedevP
                          pnedev
                          最後由 編輯

                          Hello Yaron,

                          Thanks for keeping the people here informed about the Compare plugin and its current status. I appreciate it.
                          I hope I’ll be able to officially release the new version soon so your initial idea about having fully functional CP through the Plugin Manager will finally come to life.

                          Thanks again for your help.

                          BR

                          1 條回覆 最後回覆 回覆 引用 0
                          • YaronY
                            Yaron
                            最後由 編輯

                            Hello Pavel,

                            Thank you for your remarkable work.
                            I’m sure that when you release Compare Plugin v2 many NPP users would be as appreciative and grateful as I am.

                            Best regards.

                            1 條回覆 最後回覆 回覆 引用 0
                            • 第一個貼文
                              最後的貼文
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors