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.
    • jackpozJ
      jackpoz
      last edited by

      It would be nice to have in Plugin Admin the same list of plugins previously available through Plugin Manager, for example TextFX and “Poor Man’s T-Sql Formatter” are missing. I had to revert to version 7.5.9 to be able to load these plugins.
      It would be also nice to have the plugin list sorted by name.

      1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @Eric YWY
        last edited by

        @Eric-YWY

        i think you misunderstood:
        you should never select “Don’t use %APPDATA%” if you install to C:\Program Files or plugins and updater will not be shown

        so your options are:

        install to a custom folder you create
        (example C:\Applications\Notepad++)
        there you can activate "Don’t use %APPDATA%” in the installer
        this type of installation allows every user to see the same plugins and setting

        or

        make a default install without selecting "Don’t use %APPDATA%”
        this way every user has its own plugins folder inside %APPDATA%

        Eric YWYE 1 Reply Last reply Reply Quote 3
        • Eric YWYE
          Eric YWY @Meta Chuh
          last edited by

          @Meta-Chuh

          noted, it works now, thank you!

          1 Reply Last reply Reply Quote 1
          • donhoD
            donho
            last edited by

            FYI, the new plugins schema (simplified) has been modified:
            https://notepad-plus-plus.org/community/topic/16645/new-plugins-home-where-notepad-will-load-from

            1 Reply Last reply Reply Quote 2
            • Eric YWYE
              Eric YWY
              last edited by

              Found that the Notepad++ main program cannot be restarted after installing the update of plugin from Plugin Admin

              1 Reply Last reply Reply Quote 0
              • dinkumoilD
                dinkumoil
                last edited by

                @Eric-YWY

                Which plugin did you install?

                It seems like the plugin has to be changed to adopt the new plugin hosting model of v7.6. Look for a folder with companion files and move this folder to <Npp-install-dir>\plugins.

                1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors