Community
    • 登入

    New built-in Plugin Admin (Plugin Manager) is ready

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    117 貼文 22 Posters 133.8k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • donhoD
      donho
      最後由 編輯

      @dinkumoil Then it will be:

      #define NPPM_GETPLUGINHOMEPATH (NPPMSG + 97)
      // BOOL NPPM_GETPLUGINHOMEPATH (size_t strLen, TCHAR *str)
      // Get plugin home root path.
      // where str is the allocated TCHAR array by user,
      //  strLen is the allocated array size by user
      // The return value is TRUE when get generic_string operation success
      // Otherwise (allocated array size is too small) FALSE
      

      What do you think ?

      1 條回覆 最後回覆 回覆 引用 1
      • dinkumoilD
        dinkumoil
        最後由 dinkumoil 編輯

        @donho

        Better would be:

        #define NPPM_GETPLUGINHOMEPATH (NPPMSG + 97)
        // INT NPPM_GETPLUGINHOMEPATH(size_t strLen, TCHAR *pluginRootPath)
        // Get plugin home root path.
        // Returns the number of TCHAR copied/to copy.
        // Users should call it with pluginRootPath be NULL to get the required
        // number of TCHAR (not including the terminating nul character), allocate
        // pluginRootPath buffer with the return value + 1, then call it again to
        // get the path.
        
        donhoD 1 條回覆 最後回覆 回覆 引用 2
        • donhoD
          donho @dinkumoil
          最後由 編輯

          @dinkumoil

          Done:
          https://notepad-plus-plus.org/pluginListTestTools/

          1 條回覆 最後回覆 回覆 引用 5
          • dinkumoilD
            dinkumoil
            最後由 編輯

            @donho

            Thank you, much appreciated!

            1 條回覆 最後回覆 回覆 引用 0
            • chcgC
              chcg
              最後由 編輯

              @donho What do you think about plugin entries regarding we know the plugin, but it could currently not be automatically installed and the user need to do it manually. And later one a hint for installed plugins not known to the PA so the user can report them at https://github.com/notepad-plus-plus/nppPluginList.

              1 條回覆 最後回覆 回覆 引用 0
              • SinghRajenMS
                SinghRajenM moderator
                最後由 編輯

                @donho,
                I have a quick question here.
                What if there are more that two users on a PC. Only one Admin user and rest are standard users. How PA will work?

                Consider a case:
                Admin installed Npp, so will standard or any other user be able to access PA? I feel ‘nppPluginList.dll’ should go to %allusersprofile% instead of %appdata% or can it be kept in %programfiles% itself?

                1 條回覆 最後回覆 回覆 引用 2
                • Karl-Heinz TuchnerK
                  Karl-Heinz Tuchner
                  最後由 編輯

                  Have the following problem:
                  Where can I find the plugin admin in v. 7.6? In the menu bar, I find no entry plugins

                  Meta ChuhM 1 條回覆 最後回覆 回覆 引用 0
                  • dinkumoilD
                    dinkumoil
                    最後由 編輯

                    @Karl-Heinz-Tuchner said:

                    Where can I find the plugin admin in v. 7.6? In the menu bar.

                    In the german locale there is in the main menu bar an entry Erweiterungen. In its drop down menu you will find an entry Plugin Admin.

                    1 條回覆 最後回覆 回覆 引用 1
                    • Meta ChuhM
                      Meta Chuh moderator @Karl-Heinz Tuchner
                      最後由 編輯

                      @Karl-Heinz-Tuchner

                      not being able to see plugins or not even the plugin menu normally only happens under the following cases:
                      you have installed from the installer and selected the installer option “don’t use %APPDATA%” when you installed it
                      or
                      you are using the portable release npp.7.6.bin.zip which does not include plugins admin at the moment
                      or
                      you have put the portable np++ into the Program Files (x86) folder

                      could you post your debug info here so we can see how it has been installed ?
                      (menu bar > ? > debug info > copy debug info to clipboard)

                      1 條回覆 最後回覆 回覆 引用 1
                      • Karl-Heinz TuchnerK
                        Karl-Heinz Tuchner
                        最後由 編輯

                        @Meta-Chuh

                        Here the debug info:

                        Notepad++ v7.6 (64-bit)
                        Build time : Nov 13 2018 - 00:12:05
                        Path : C:\Program Files\Notepad++\notepad++.exe
                        Admin mode : ON
                        Local Conf mode : OFF
                        OS : Windows 10 (64-bit)
                        Plugins : none

                        I think I found the mistake.
                        I used the option “do not use% APPDATA%”.
                        How can I undo this?

                        Meta ChuhM 1 條回覆 最後回覆 回覆 引用 1
                        • Meta ChuhM
                          Meta Chuh moderator @Karl-Heinz Tuchner
                          最後由 編輯

                          @Karl-Heinz-Tuchner

                          normally it should be enough to reinstall np++ over the current installation without selecting “do not use% APPDATA%”

                          but i see something strange in your case:
                          this option just puts an empty DoLocalConf.xml inside the Notepad++ directory which changes the behavior of np++ if it is present.
                          but in your log it says “Local Conf mode : OFF” which indicates that DoLocalConf.xml is not present.

                          maybe you’ll have to uninstall notepad++ completely,
                          then remove %LOCALAPPDATA%\Notepad++ and %PROGRAMFILES%\Notepad++ before reinstalling
                          (enter %LOCALAPPDATA% in your explorer adress bar and delete the Notepad++ folder, repeat the same in %PROGRAMFILES%)
                          and then reinstall np++ 7.6 64 bit

                          hope this helps

                          1 條回覆 最後回覆 回覆 引用 0
                          • Karl-Heinz TuchnerK
                            Karl-Heinz Tuchner
                            最後由 編輯

                            @Meta-Chuh

                            Now it´s all OK!
                            Thank you for help!

                            1 條回覆 最後回覆 回覆 引用 1
                            • Chris HultC
                              Chris Hult
                              最後由 編輯

                              I am also having the problem where I do not see a way to access the Plugin Admin. I do not see any plugin admin in the menu bar. Any help would be much appreciated!

                              screen print: https://www.screencast.com/t/CBLiIsR7x

                              Debug Info:
                              Notepad++ v7.6 (64-bit)
                              Build time : Nov 13 2018 - 00:12:05
                              Path : C:\Program Files\Notepad++\notepad++.exe
                              Admin mode : OFF
                              Local Conf mode : OFF
                              OS : Windows 10 (64-bit)
                              Plugins : none

                              1 條回覆 最後回覆 回覆 引用 1
                              • MrSimurqM
                                MrSimurq
                                最後由 編輯

                                Am I the only one missing the new Plugin Admin menu? Using v7.6 but can’t see any “built-in Plugin Admin” in Notepad++. I’ve checked almost every under menu item but the only plugins I can see are the default ones like spell checker, mime tools, etc.
                                Do I need to download it separately, as opposed to advertised “built-in” version?
                                Thanks!

                                1 條回覆 最後回覆 回覆 引用 0
                                • dinkumoilD
                                  dinkumoil
                                  最後由 編輯

                                  @MrSimurq

                                  Please provide some additional infos:

                                  1. Do you use a portable installation or did you use the installer to update Notepad++ to v7.6?
                                  2. Did you use the option “Don’t use %APPDATA%” during installation?
                                  3. Do you work normally with a restricted user account and thus you had to install Notepad++ using username & password of an administrative account?
                                  1 條回覆 最後回覆 回覆 引用 2
                                  • MrSimurqM
                                    MrSimurq
                                    最後由 編輯

                                    Thanks, dinkumoil!

                                    1. Portable 32-bit version downloaded as a 7zip file. But I didn’t see any note on the Plugin Admin page re: installation type.
                                    2. Nope. I think that’s because I use the portable version.
                                    3. Admin with no password.
                                    1 條回覆 最後回覆 回覆 引用 0
                                    • dinkumoilD
                                      dinkumoil
                                      最後由 編輯

                                      @MrSimurq

                                      You are unlucky, the portable version currently doesn’t include Plugin Admin, maybe in the future.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • Michael GroholM
                                        Michael Grohol
                                        最後由 編輯

                                        Just downloaded v7.6. I see the new Plugins Manager is mentioned here: Notepad-plus-plus.org/features/plugin-admin.html. I do not know how to launch it, though, from inside Notepad++ v7.6. Thoughts? I am particularly interested in the plugin NppExport which should allow me to export .v files (Verilog HDL) to a Word doc and preserve the syntax coloring. Thanks for any tips.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • dinkumoilD
                                          dinkumoil
                                          最後由 編輯

                                          @Michael-Grohol

                                          Please provide some additional informations:

                                          1. Did you perform a fresh installation of Notepad++ or an update and thus you had been able to use the NppExport plugin in your previous version?
                                          2. Did you download an installer of v7.6 or a ZIP/7z file to run a portable version of Notepad++?
                                          1 條回覆 最後回覆 回覆 引用 0
                                          • Şahin BeyguŞ
                                            Şahin Beygu
                                            最後由 編輯

                                            Sorry if that’s a double entry but I’ve searched the posts and couldn’t find any related entry:

                                            As seen in this Plugins menu screenshot, there exists two menu items (Plugin Manager and Plugin Admin) which is very confusing.
                                            It would be better to include Plugin Manager in “npp core” and avoid this confusion.

                                            Also, after the installation of the new Plugin Manager its “Installed plugins” list does not show the installed plugins and comes empty whereas the old Plugin Admin lists the plugins as it should be. See these old and new lists.

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