• Login
Community
  • Login

Support for Plugins Admin & NppPluginList

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
45 Posts 26 Posters 60.1k 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.
  • S
    squeeze69
    last edited by Dec 14, 2018, 3:10 PM

    Hi.

    Sigh, I’ve just updated to 7.6.1, 32bit version, no luck, Plugin Admin is still missing.
    The old plugin manager “just worked”, but this one :(

    Upgraded from 7.5.9 to 7.6.0, then to 7.6.1, moved the plugins as suggested (one directory = one plugin with the name of the main dll).

    Still:

    1. while installing, I cannot flag “autoupdate” (but the exec is there, GUP.EXE)…
    2. After installation, there is no “plugin admin” anywhere. :(

    BTW: apart from this annoying thing, Notepad++ is good as always.

    M 1 Reply Last reply Dec 14, 2018, 5:01 PM Reply Quote 0
    • M
      Meta Chuh moderator @squeeze69
      last edited by Dec 14, 2018, 5:01 PM

      @squeeze69

      usually this should solve this problem:

      make a backup of your plugins folder(s) if you need them

      uninstall notepad++ completely
      delete all Notepad++ folders you can find in:
      %PROGRAMFILES(X86)%,
      %LOCALAPPDATA%,
      %APPDATA% and
      %PROGRAMDATA%

      reinstall with this 7.6.1 (x86) installer and make sure “Auto-Updater” and “Plugins Admin” are selected
      (note: auto updater will be selected but greyed out as soon as plugins admin is checked because auto updater is mandatory for plugins admin)

      1 Reply Last reply Reply Quote 1
      • D
        donho @dinkumoil
        last edited by Dec 20, 2018, 9:48 AM

        @dinkumoil said:

        There is a known bug in the unzipping code for plugin ZIP packages. If a plugin comes with companion files, plugin installer GUP.exe may produce 0-byte files when unzipping them. Affected plugins may fail to work.

        This issue is fixed and merged into master of wingup for Notepad++:
        https://github.com/notepad-plus-plus/wingup/commit/a4f12fd8cd0ca6eb6e44594b08ef6c9e2665a72e
        The bug will be fixed in the next release.

        1 Reply Last reply Reply Quote 1
        • D
          dinkumoil
          last edited by Dec 20, 2018, 10:51 AM

          @donho said:

          The bug will be fixed in the next release.

          Thank you again!

          1 Reply Last reply Reply Quote 0
          • S
            shawnkhall
            last edited by Dec 20, 2018, 8:43 PM

            Feature request: column sorting within Plugins Admin. Since there’s no logical default sort order and the search is limited, sorting will help us find our favorite plugins.

            1 Reply Last reply Reply Quote 0
            • D
              DataCrypt @donho
              last edited by Dec 21, 2018, 3:49 AM

              @donho Thank you for all your work on NPP. I like the new PlugIn Admin and if you can somehow include that in the portable version so that it’s available in a future release, that would be very helpful. Thank you again and happy holidays!

              D 1 Reply Last reply Dec 25, 2018, 3:04 PM Reply Quote 2
              • ?
                A Former User
                last edited by Dec 22, 2018, 3:29 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • I
                  ivanbuto
                  last edited by Dec 22, 2018, 3:32 AM

                  Question: Is it possible to make the new Plugins Admin work also on Windows XP or would this be too much work?
                  I tried Notepad++ to 7.6.1 with the Plugins Admin. The lists of plugins read fine, however, the update process didn’t work due to a missing function. I can provide a screenshot if needed.
                  Plugin Manager worked fine also with Windows XP.

                  I I 2 Replies Last reply Feb 3, 2019, 3:37 PM Reply Quote 0
                  • D
                    donho @DataCrypt
                    last edited by Dec 25, 2018, 3:04 PM

                    @DataCrypt said:

                    Thank you for all your work on NPP. I like the new PlugIn Admin and if you can somehow include that in the portable version so that it’s available in a future release, that would be very helpful. Thank you again and happy holidays!

                    It will be in the zipped package of next release (v7.6.2).

                    1 Reply Last reply Reply Quote 1
                    • J
                      jackpoz
                      last edited by Jan 2, 2019, 2:43 PM

                      Plugin “XML Tools” shows an error about libxml and/or libxslt not being found. I copied both dlls in the new plugin subfolder C:\ProgramData\Notepad++\plugins\XMLTools but that didn’t fix the issue. Any clue where plugins should have their external dlls ?
                      Link to the screenshot

                      D 1 Reply Last reply May 13, 2019, 4:25 PM Reply Quote 0
                      • S
                        Serge Wenger
                        last edited by Jan 3, 2019, 12:53 PM

                        Admin Plugins does not work because I have to use the company proxy. I have no error message, but no new plugin installation or update are working correctly.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Serge Wenger
                          last edited by Jan 10, 2019, 1:00 PM

                          Is there a log or something to do to help to find a solution?

                          1 Reply Last reply Reply Quote 0
                          • D
                            dumdi dum
                            last edited by Jan 10, 2019, 2:45 PM

                            Hi there,

                            maybe I just didn’t find the answer to my question, but shouldn’t it be possible to install plugins without admin privileges?

                            I did uninstall 6.9 with the silent switch and installed the 32 Bit 7.6.2 version with the silent switch aswell.

                            Now all Plugins are listed in the Programdata folder, where usually every user can create or delete folders - but still if I want to install one plugin with the plugin admin menu, notepad++ is closing and asks for administrator credentials.

                            Is this still the intended behavior?!

                            regards

                            1 Reply Last reply Reply Quote 0
                            • M
                              mattesh
                              last edited by Jan 10, 2019, 10:12 PM

                              Hi @donho ,
                              Plugin_Central is quite outdated,
                              but still referenced in
                              official plugin-howto -> Plugin_Development

                              Also the specifications for certain content on docs.notepad-plus-plus.org seems to be quite old.
                              Could you please check how contributors can do some updates for your wiki?

                              Best regards, Mattes

                              1 Reply Last reply Reply Quote 1
                              • I
                                Ivan Bútora @ivanbuto
                                last edited by Feb 3, 2019, 3:37 PM

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • I
                                  ivanbuto @ivanbuto
                                  last edited by Feb 3, 2019, 3:42 PM

                                  @ivanbuto said:

                                  Question: Is it possible to make the new Plugins Admin work also on Windows XP or would this be too much work?
                                  I tried Notepad++ to 7.6.1 with the Plugins Admin. The lists of plugins read fine, however, the update process didn’t work due to a missing function. I can provide a screenshot if needed.
                                  Plugin Manager worked fine also with Windows XP.

                                  Here is a screenshot of the error generated when Notepad++ restarted itself after trying to update a plugin via Plugins Admin in 7.6.1 on Windows XP.

                                  With versions 7.6.2 and higher, the Plugins Admin does not even appear under the Plugins menu.

                                  So should I just expect that it won’t be made to work under Windows XP at all? I do have the appropriate TLS update installed (KB4019276), so the system can use TLS 1.2.

                                  1 Reply Last reply Reply Quote 2
                                  • D
                                    dmmiller2k @jackpoz
                                    last edited by May 13, 2019, 4:25 PM

                                    @jackpoz In order for the XMLTools plugin to work, those external DLLs (i.e., libcurl.dll, libiconv-2.dll, libwinpthread-1.dll, libxml2-2.dll, libxslt-1.dll) must be copied into the Notepad++ executable directory (i.e., where the Notepad++.exe file resides, or, “C:\Program Files\Notepad++”).

                                    1 Reply Last reply Reply Quote 2
                                    • Stan Mitchell130S
                                      Stan Mitchell130
                                      last edited by Sep 13, 2019, 12:38 AM

                                      **Problem Installing Style.xml for Plugin External Lexers **

                                      I’m using the recommended procedure for testing my plugin: Npp 7.6.1, gup debug. After modifying nppPluginList.json, my distribution zip is found and the files are extracted and installed. My lexer plugin depends on an xml file for syntax styling that should be in the user directory under %APPDATA%\Notepad++\plugins\config but it is not getting copied there. With the old plugin manager, some rules were supplied for where things were to be copied on installation. How should that kind of thing be handled now with the new Plugin Admin?

                                      1 Reply Last reply Reply Quote 0
                                      • Bas de ReuverB
                                        Bas de Reuver
                                        last edited by Bas de Reuver Oct 28, 2021, 12:21 PM Oct 28, 2021, 12:19 PM

                                        I’m running into the same problem as @Stan-Mitchell130 's GEDCOM plug-in with my CSV Lint plugin. The plug-in provides a custom lex() function which requires an .XML file for the syntax highlighting colors. When installing the plug-in this XML file should be placed in the user’s \config\ folder, like so:

                                        CSVLint.dll ----> C:\Program Files\Notepad++\plugins\CSVLint\CSVLint.dll
                                        CSVLint.xml —> %USERPROFILE%\AppData\Roaming\Notepad++\plugins\config\CSVLint.xml

                                        I’ve added the installation .zip files (both 32bit and 64bit) to the Plugins Admin list and the .zip files contains just the two files, like so:

                                        CSVLint.zip

                                        • CSVLint.dll
                                        • CSVLint.xml

                                        But this places the CSVLint.xml file in the same folder as the Program Files\Notepad++\plugins\CSVLint\ folder, so this is incorrect. After you install the plug-in and start Notepad++ wil give an error “\plugins\Config\CSVLint.xml is missing. CSVLint.dll is not compatible… etc.”

                                        I noticed that the GedcomLexer also provides an XML file but it’s placed in a subfolder in the .zip called “Config”. However, this still causes the GedcomLexer.xml file to be copied to the incorrect folder Program Files\Notepad++\plugins\GedcomLexer\Config\GedcomLexer.xml, so that gives the same problem.

                                        GedcomLexer.zip

                                        • GedcomLexer.dll
                                        • Config\GedcomLexer.xml
                                        • etc. more files

                                        So my question is, how should I provide the .XML file in the .zip file, in such a way that the Plugins Admin will copy it to the correct .\config\ folder?

                                        EkopalypseE 1 Reply Last reply Oct 28, 2021, 1:40 PM Reply Quote 1
                                        • EkopalypseE
                                          Ekopalypse @Bas de Reuver
                                          last edited by Oct 28, 2021, 1:40 PM

                                          @Bas-de-Reuver

                                          I am not sure if this is the best way.
                                          From the plugin’s point of view, it is necessary that this file exists.
                                          What if it was accidentally deleted?

                                          What I do is check the existence of the file in the setInfo callback and create it if necessary.

                                          fn set_info(nppData NppData) {
                                          	npp_data = nppData
                                          	notepad = npp.Npp{npp_data.npp_handle}
                                          	editor = sci.create_editors(nppData.scintilla_main_handle, nppData.scintilla_second_handle)
                                          
                                          	// create language xml in plugin config directory if needed
                                          	config_dir := notepad.get_plugin_config_dir()
                                          	lang_xml := os.join_path(config_dir, language_name+'.xml')
                                          	if !os.exists(lang_xml) {
                                          		if !create_lang_xml(lang_xml) {
                                          			msg := 'Unable to create VLang xml file\n$lang_xml'
                                          			message_box(npp_data.npp_handle, msg, 'Error', u32(C.MB_OK | C.MB_ICONERROR))
                                          		}
                                          	}
                                          }
                                          
                                          1 Reply Last reply Reply Quote 3
                                          • First post
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors