Community
    • Login

    Support for Plugins Admin & NppPluginList

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    73 Posts 31 Posters 92.6k 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.
    • Dave BongfishtesterD
      Dave Bongfishtester
      last edited by

      I’ve spent half a day now trying various versions of Notepad++ with PythonScript. The deadline for the files which my script was supposed to fix was yesterday afternoon.

      Thank you for the wonderfully bug-free and well-explained update process :-(

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @Dave Bongfishtester
        last edited by

        @Dave-Bongfishtester

        i apologise for your inconvenience.

        many thanks for your patience and best regards.

        1 Reply Last reply Reply Quote 0
        • ahmoy lawA
          ahmoy law
          last edited by

          Hi all,
          I want to update the plugin list to add my new plugin but received this error,

          “remote: Permission to notepad-plus-plus/nppPluginList.git denied to ahmoylaw.
          fatal: unable to access ‘https://github.com/notepad-plus-plus/nppPluginList.git/’: Failure when receiving data from the peer”

          To be frank, i’m not that familiar with GitHub. What is the correct procedure to update the plugin list?

          Thanks

          1 Reply Last reply Reply Quote 1
          • cmeriauxC
            cmeriaux
            last edited by

            @ahmoy-law

            • you have to fork the repository (tutorial https://help.github.com/en/github/getting-started-with-github/fork-a-repo )
            • add your plugin in your own forked repository, in the file src/pl.x86.json and src/pl.x68.json.
              commit and push this modification to your own forked repository
            • submit this commit to the original repository aka doing a pull request (tutorial https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork )
            1 Reply Last reply Reply Quote 5
            • ahmoy lawA
              ahmoy law
              last edited by

              Many thanks to @cmeriaux .

              I think, I have managed to create a pull request to the master. Admin please evaluate whether my plugin is good enough to be inside the official Notepad++ plugins.

              1 Reply Last reply Reply Quote 2
              • Justin WagnerJ
                Justin Wagner
                last edited by

                I just cloned the latest notepad-plus-plus source code from git and built it successfully in VS2022. I’m now trying to get the Plugins Admin option working in the Plugins menu.

                I’ve cloned the nppPluginList code and built it, but I’m not sure what I’m now supposed to do with the output to get the menu item to appear in notepad++. I’ve taken the nppPluginList.dll and placed it under the bin64/plugins folder for the notepad-plus-plus project but that doesn’t seem to do anything.

                PeterJonesP Alan KilbornA 2 Replies Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @Justin Wagner
                  last edited by PeterJones

                  @Justin-Wagner said in Support for Plugins Admin & NppPluginList:

                  bin64/plugins

                  The correct path is bin64/plugins/Config/nppPluginList.dll

                  (For other readers of this topic who haven’t been following all conversations in the forum: this is related to a separate topic by the same user)

                  Justin WagnerJ 1 Reply Last reply Reply Quote 2
                  • Justin WagnerJ
                    Justin Wagner @PeterJones
                    last edited by

                    @PeterJones That’s where I currently have it, but I suspect I’m missing something else. If I don’t have the Plugins Admin option in the Plugins menu, will placing nppPluginList.dll in this location force it to appear, or do I somehow need to build notepad-plus-plus differently to begin with?

                    It seems to me like nppPluginList.dll feeds into the Plugins Admin dialog once it’s already enabled, but my issue is that I have nothing to click on to open that in the first place.

                    1 Reply Last reply Reply Quote 0
                    • Alan KilbornA
                      Alan Kilborn @Justin Wagner
                      last edited by

                      @Justin-Wagner said in Support for Plugins Admin & NppPluginList:

                      I just cloned the latest notepad-plus-plus source code from git and built it successfully in VS2022

                      don’t have the Plugins Admin option in the Plugins menu

                      You didn’t ask for the smart-ass answer, but here it is: Step thru the code (in the relevant section, of course) and you should be able to see why it isn’t appearing. :-)

                      Justin WagnerJ 1 Reply Last reply Reply Quote 1
                      • Justin WagnerJ
                        Justin Wagner @Alan Kilborn
                        last edited by Justin Wagner

                        @Alan-Kilborn haha ok I’ll start digging in. I guess what I was mainly wanting to confirm is that it’s supposed to be there in the first place after doing a git clone and .NET build.

                        Alan KilbornA 1 Reply Last reply Reply Quote 0
                        • Alan KilbornA
                          Alan Kilborn @Justin Wagner
                          last edited by

                          @Justin-Wagner

                          So you’re probably doing the default build of the DEBUG version of Notepad++?

                          If so, that’s looking for the .json version of the the plugins list in order to determine if it should show Plugins Admin; see HERE.

                          As I said, since you apparently have the power, you can set a breakpoint and look at code there and see how it is looking for what/where.

                          Justin WagnerJ 1 Reply Last reply Reply Quote 1
                          • Justin WagnerJ
                            Justin Wagner @Alan Kilborn
                            last edited by

                            @Alan-Kilborn Many thanks for the tip. It looks like I was missing both the json file (I just had the dll in there) and the updater (updater/gup.exe). Looks like I need to clone and build the updater as well.
                            Cheers

                            1 Reply Last reply Reply Quote 3
                            • ianwilliams1I
                              ianwilliams1
                              last edited by

                              After TextFX disappeared following NPP upgrade, I found this post, which noted there’s now a TextFX2 (which works for me!).

                              Wondering if someone might update the Plugins List to show the original is no longer compatible and add an entry for the TextFX2 and link to repo, etc. ?

                              Is that the responsibly of the plugin developer to add and what about the deprecation ?

                              I’d submit a PR, but have no idea what the appropriate notations would be.

                              ianwilliams1I 1 Reply Last reply Reply Quote 0
                              • ianwilliams1I
                                ianwilliams1 @ianwilliams1
                                last edited by

                                Also, how does TextFX2 get onto the Plugins Admin list of plugins? Is there something @rainman74 needs to do?

                                PeterJonesP 1 Reply Last reply Reply Quote 0
                                • PeterJonesP
                                  PeterJones @ianwilliams1
                                  last edited by

                                  @ianwilliams1 said in Support for Plugins Admin & NppPluginList:

                                  Also, how does TextFX2 get onto the Plugins Admin list of plugins? Is there something @rainman74 needs to do?

                                  Yes. it is up to the author/maintainer of a plugin to decide whether or not to add it to Plugins Admin.

                                  1 Reply Last reply Reply Quote 0
                                  • Roberto IseppiR
                                    Roberto Iseppi
                                    last edited by

                                    The plugin:
                                    “Customize Toolbar” 5.3
                                    is causing NPP 8.4.8 to not display the menu icons.
                                    R

                                    Alan KilbornA 1 Reply Last reply Reply Quote 0
                                    • Alan KilbornA
                                      Alan Kilborn @Roberto Iseppi
                                      last edited by

                                      @Roberto-Iseppi said in Support for Plugins Admin & NppPluginList:

                                      is causing NPP 8.4.8 to not display the menu icons.

                                      Can you be more specific as to what “menu icons” you are talking about?

                                      1 Reply Last reply Reply Quote 0
                                      • ensnaredE
                                        ensnared
                                        last edited by

                                        Apologies if this isn’t the place to report obsolete plugins in the list. If it isn’t, please direct me to the proper place :)

                                        The plugin NppQrCode (v0.0.0.1) can not be installed (on x64 atleast). It gives the following error:
                                        5f944316-ff1e-4d3e-accc-78afb2de84f6-image.png

                                        Also, the homepage URL in the description for the plugin is dead (I’m not allowed to post actual links, but it’s
                                        github(dot)com/vladk1973/NppQrCode)

                                        rdipardoR 1 Reply Last reply Reply Quote 0
                                        • rdipardoR
                                          rdipardo @ensnared
                                          last edited by rdipardo

                                          A new version (0.0.0.2) has been available since Notepad++ 8.5.8:

                                          nppQRCode-v0002.png

                                          If you’re stuck with 8.5.7 or something older, you can also get it directly from GitHub.

                                          1 Reply Last reply Reply Quote 2
                                          • CoisesC
                                            Coises
                                            last edited by Coises

                                            In the online manual (which the GitHub nppPluginList repository also references), there is a section about testing updates to the Plugin List:

                                            Test your plugins locally

                                            That section gives links to x86 and x64 debug copies of Notepad++ version 7.8.1. The WinGup versions are 5.1.1 (current is 5.2.9). When I put them in a copy of a current (8.6.8) portable folder and try to launch, they ask if I want to download an update and when I say no, nothing launches at all.

                                            I know I tested when I first added Columns++ to the plugins list; I think I gave up on the documented procedure and instead compiled a version of Notepad++ that I modified somehow to make it use the xml plugins list instead of the dll. So, whatever I did, it wasn’t the “right” way to do it, and I no longer remember exactly what I did.

                                            Since then I’ve just made changes, pasted the new hashes and assumed I didn’t make any mistakes, but I thought I’d test my last update this time to be sure, and… here I am, looking a documented test procedure that doesn’t work.

                                            The point of all this being: can the manual be updated to reflect the actual, current recommended procedure for testing, whatever that is?

                                            (My impression was that the GitHub actions on pull requests for nppPluginList only test whether the XML is valid, not whether the new plugin’s URL is accessible and whether the content passes the hash check. Is that correct?)

                                            PeterJonesP 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors