• Login
Community
  • Login

Support for Plugins Admin & NppPluginList

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
73 Posts 31 Posters 92.5k 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
    ahmoy law
    last edited by Jul 1, 2020, 9:38 AM

    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
    • C
      cmeriaux
      last edited by Jul 1, 2020, 12:26 PM

      @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
      • A
        ahmoy law
        last edited by Jul 2, 2020, 8:28 AM

        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
        • J
          Justin Wagner
          last edited by Nov 2, 2022, 4:39 PM

          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.

          P A 2 Replies Last reply Nov 2, 2022, 4:58 PM Reply Quote 0
          • P
            PeterJones @Justin Wagner
            last edited by PeterJones Nov 2, 2022, 5:00 PM Nov 2, 2022, 4:58 PM

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

            J 1 Reply Last reply Nov 2, 2022, 6:09 PM Reply Quote 2
            • J
              Justin Wagner @PeterJones
              last edited by Nov 2, 2022, 6:09 PM

              @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
              • A
                Alan Kilborn @Justin Wagner
                last edited by Nov 2, 2022, 6:13 PM

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

                J 1 Reply Last reply Nov 2, 2022, 6:14 PM Reply Quote 1
                • J
                  Justin Wagner @Alan Kilborn
                  last edited by Justin Wagner Nov 2, 2022, 6:16 PM Nov 2, 2022, 6:14 PM

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

                  A 1 Reply Last reply Nov 2, 2022, 6:34 PM Reply Quote 0
                  • A
                    Alan Kilborn @Justin Wagner
                    last edited by Nov 2, 2022, 6:34 PM

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

                    J 1 Reply Last reply Nov 2, 2022, 7:36 PM Reply Quote 1
                    • J
                      Justin Wagner @Alan Kilborn
                      last edited by Nov 2, 2022, 7:36 PM

                      @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
                      • I
                        ianwilliams1
                        last edited by Jan 11, 2023, 10:26 PM

                        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.

                        I 1 Reply Last reply Jan 11, 2023, 10:51 PM Reply Quote 0
                        • I
                          ianwilliams1 @ianwilliams1
                          last edited by Jan 11, 2023, 10:51 PM

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

                          P 1 Reply Last reply Jan 11, 2023, 11:12 PM Reply Quote 0
                          • P
                            PeterJones @ianwilliams1
                            last edited by Jan 11, 2023, 11:12 PM

                            @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
                            • R
                              Roberto Iseppi
                              last edited by Jan 31, 2023, 8:41 PM

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

                              A 1 Reply Last reply Jan 31, 2023, 9:21 PM Reply Quote 0
                              • A
                                Alan Kilborn @Roberto Iseppi
                                last edited by Jan 31, 2023, 9:21 PM

                                @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 Feb 22, 2024, 12:03 PM

                                  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 Feb 23, 2024, 10:44 AM Reply Quote 0
                                  • rdipardoR
                                    rdipardo @ensnared
                                    last edited by rdipardo Feb 23, 2024, 10:48 AM Feb 23, 2024, 10:44 AM

                                    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 Jun 25, 2024, 4:50 PM Jun 25, 2024, 4:44 PM

                                      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?)

                                      P 1 Reply Last reply Jun 25, 2024, 5:18 PM Reply Quote 0
                                      • P
                                        PeterJones @Coises
                                        last edited by PeterJones Jun 25, 2024, 5:25 PM Jun 25, 2024, 5:18 PM

                                        @Coises ,

                                        Ideally, @donho should be updating the files at those four static URLs every time there’s a new release, because otherwise, with every release, the UserManual would have to edit those links to the new location for the debug builds.

                                        Alternately, the User Manual could be modified to explain the procedure to find the newest debug builds of N++ and WinGup. Unfortunately, the “debug” builds don’t get put in https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest – if they did, that would be the easy. And the Npp/WinGup releases don’t include any built files… and I don’t know if the gup4win/wingup releases (which do have the zip) are compatible with N++ plugin testing or not.

                                        As a procedure for finding debug builds, I think this will work:

                                        1. Go to https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest
                                        2. Click on the commit that goes with that release (the 7-hex-digit)
                                          • Example: 35d7cd8d-8c13-4f54-887b-5f8013208b8e-image.png
                                        3. Click on the Green Checkmark on the Commit message, which will show a dropdown window
                                        4. Scroll down to the appropriate “debug” build and click Details for Win32 (32-bit), x64 (64-bit), or ARM64 (for 64-bit ARM processors)
                                          • bc9307fa-61e2-4a36-8eac-3b72d2ff4a9b-image.png
                                          • It’s actually not important which of the Details you click on – because the Summary link in the next step takes you to the same page for all the builds in this dropdown
                                        5. On the Details page, click on the Summary
                                          • d1ddd55f-5746-4a38-9077-7234151eb9f2-image.png
                                        6. If it hasn’t been too long and GitHub hasn’t cleaned up the artifacts, then you can scroll to the bottom of the Summary page, and find the right Debug build for Win32, x64, or ARM64 entry in the Artifacts list and download that Artifact:
                                          • Notepad++.MSVC.Win32.Debug
                                          • Notepad++.MSVC.x64.Debug
                                          • Notepad++.MSVC.ARM64.Debug
                                        7. That downloaded Artifact is, I believe, the most recent equivalent of the N++ links in the User Manual.

                                        Let me know if that procedure, combined with grabbing the gup4win/wingup release, is able to work for debugging. If not, then @donho or someone more familiar with the plugin-testing procedure will need to chime in.

                                        update: given how old the gup4win/wingup is, that’s probably not a good idea. Since the UM link to the assets hierarchy for wingup.release.x64.zip calls it the release rather than debug, I am wondering if it’s safe to just use the gup.exe distributed with N++ v8.6.8 when using the v8.6.8-debug notepad++.exe – I’d recommend that as your first experiment.

                                        CoisesC 1 Reply Last reply Jun 25, 2024, 7:59 PM Reply Quote 2
                                        • CoisesC
                                          Coises @PeterJones
                                          last edited by Coises Jun 25, 2024, 8:00 PM Jun 25, 2024, 7:59 PM

                                          @PeterJones said in Support for Plugins Admin & NppPluginList:

                                          Let me know if that procedure […] is able to work for debugging.

                                          Yes, it works. Thank you.

                                          I didn’t bother to examine the code to find out how it works, but apparently using a debug version of Notepad++ automatically uses the .json plugin list instead of the .dll, so the test proceeds just fine. Just to be sure, I tried changing my plugin’s hash value in the list and it flagged the mismatch, so it is validating the hash.

                                          I don’t think that’s an unreasonably difficult procedure for plugin authors to follow (relative to the work to actually write and debug a plugin!). It’s not a big deal if updating those fixed-URL debug builds is inconvenient. It would just be good to have the procedure documented, either in the manual or in the plugin list readme (to which the manual could refer — personally, I think it makes more sense in the plug list readme).

                                          1 Reply Last reply Reply Quote 1
                                          • CoisesC Coises referenced this topic on Apr 4, 2025, 8:55 PM
                                          • First post
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors