Community
    • Login

    Preview Plugin

    Scheduled Pinned Locked Moved General Discussion
    44 Posts 6 Posters 24.3k 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.
    • Steve LaLondeS
      Steve LaLonde
      last edited by

      thank you for the reply

      Well this is just incredible --> I can only post every 1200 seconds…OMG!!!

      Okay 20 minutes have passed…
      Notepad++ v7.6.4 (64-bit)
      Build time : Mar 6 2019 - 02:58:24
      Path : C:\Program Files\Notepad++\notepad++.exe
      Admin mode : OFF
      Local Conf mode : OFF
      OS : Windows 10 (64-bit)
      Plugins : mimeTools.dll NppConverter.dll PluginManager.dll

      Meta ChuhM 1 Reply Last reply Reply Quote 3
      • andrecool-68A
        andrecool-68
        last edited by

        @Steve-LaLonde said:
        https://fossil.2of4.net/npp_preview/home
        About this plugin in question?

        1 Reply Last reply Reply Quote 1
        • Steve LaLondeS
          Steve LaLonde
          last edited by

          I do not see the Preview option in the menu item and the preview icon does nothing. Neither does refresh. this is a brand new install.

          This does not work -->
          “To preview a document, you can either press the preview icon on the toolbar, or use the menu item Plugins / Preview HTML / Preview HTML, or the associated shortcut key. The preview now ought to appear in a window.”

          andrecool-68A 1 Reply Last reply Reply Quote 0
          • andrecool-68A
            andrecool-68 @Steve LaLonde
            last edited by

            @Steve-LaLonde
            Preview HTML (only 32 bit)

            1 Reply Last reply Reply Quote 2
            • Steve LaLondeS
              Steve LaLonde
              last edited by

              I do not have a preview icon… I was clicking the monitoring icon. (so small I could not easily discern)

              The preview dll has been placed in the applicable folder as well

              1 Reply Last reply Reply Quote 0
              • Meta ChuhM
                Meta Chuh moderator @Steve LaLonde
                last edited by

                @Steve-LaLonde

                thank you for your debug information.
                unfortunately i have only been able to find Preview HTML for the 32 bit version of notepad++.

                if you have found a PreviewHTML.dll that is made for 64 bit (as you said january 2019 version):

                • open explorer and go to C:\Program Files\Notepad++\plugins.
                • create a folder called PreviewHTML.
                • copy PreviewHTML.dll to that folder.

                your PreviewHTML.dll location should now be:
                C:\Program Files\Notepad++\plugins\ PreviewHTML\PreviewHTML.dll.

                this is all you have to do to get it running.
                the config files will be created automatically, if you go to the preview html settings or filter menu, so you don’t have to copy the template ini from the zip.

                note: if you have found a 64 bit version of PreviewHTML, please share the link where you have downloaded it, it might be useful for other readers.


                if you did not find a 64 bit version of PreviewHTML, and you want to get the 32 bit version up and running because you need it right now:

                • download the portable notepad++ version 7.6.4. 32 bit from >>> here <<<
                • extract npp.7.6.4.bin.zip to your desktop.
                • open up the extracted npp.7.6.4.bin folder.
                • open the plugins folder inside.
                • create a folder called PreviewHTML.
                • copy PreviewHTML.dll to that folder.
                  your PreviewHTML.dll location should now be:
                  Desktop\npp.7.6.4.bin\plugins\ PreviewHTML\PreviewHTML.dll
                • start this notepad++ portable version by double clicking notepad++.exe inside of npp.7.6.4.bin.

                note: the portable version can coexist with your installed version.
                both notepad++ will be completely isolated and any settings or plugins of the portable version will not change your installed version.

                1 Reply Last reply Reply Quote 1
                • Steve LaLondeS
                  Steve LaLonde
                  last edited by

                  First Meta Chuh, your answer took a lot of time, typing and explanation -THANK YOU!

                  This works. 64x, 32x did not matter to me. I had gotten installation explanations from two different individuals posting instructions and their instructions made no reason to believe the plug-in was either 64 or 32 or that it would matter. 2+ hours on something that would normally have taken me 4 minutes. :(:(:(

                  So If I download the 32x version and performed the same instructions creating directory and copy\paste, can I assume the plug-in will work with the 32x program? :)

                  Thanks
                  Steve

                  1 Reply Last reply Reply Quote 1
                  • Steve LaLondeS
                    Steve LaLonde
                    last edited by

                    @Meta-Chuh said:

                    open the plugins folder inside.
                    create a folder called PreviewHTML

                    On third party site page, the above instructions were left out.
                    Instruction stated just copy to the plugins folder which does not work.

                    I just went through the normal installation and applied your instruction.
                    It worked.

                    Thanks again
                    Steve

                    1 Reply Last reply Reply Quote 1
                    • andrecool-68A
                      andrecool-68
                      last edited by andrecool-68

                      I tried to compile the plugin for 64 bits, that’s what happened
                      http://rgho.st/7nfxx68BB
                      Truth icons in menu there is no.

                      Meta ChuhM 1 Reply Last reply Reply Quote 2
                      • andrecool-68A
                        andrecool-68
                        last edited by

                        It is necessary to contact the author of this plugin, that he himself would correct the project for 64 bit.

                        1 Reply Last reply Reply Quote 1
                        • Meta ChuhM
                          Meta Chuh moderator @andrecool-68
                          last edited by

                          @andrecool-68

                          you did not just try to compile PreviewHTML for x64 …
                          YOU HAVE SUCCESSFULLY COMPILED PreviewHTML for x64 !!!

                          i think the missing PreviewHTML toolbar icon on x64 is no big deal, as users can use [ctrl]+[shift]+[h] to switch PreviewHTML on and off.

                          this is very cool … it’s andrecool-68 ;-)
                          thanks for sharing.

                          andrecool-68A 1 Reply Last reply Reply Quote 3
                          • andrecool-68A
                            andrecool-68 @Meta Chuh
                            last edited by

                            @Meta-Chuh
                            I sometimes compile other people’s plugins for the sake of experiment with Russian localization, but I am very far from this programming)))

                            1 Reply Last reply Reply Quote 1
                            • PeterJonesP
                              PeterJones
                              last edited by PeterJones

                              @andrecool-68 ,

                              It is necessary to contact the author of this plugin

                              You mean like this ticket, which the author has had open since July of 2017?

                              According to the code history, the author has touched the codebase since the ticket was placed (and since I commented on that ticket), but there has not yet been a 64-bit release.

                              While waiting for that, I created my pyscfilteredviewer. It’s not quite as integrated as the PreviewHTML plugin, nor quite as automated (it uses your default browser; it cannot update based on the edited-but-not-saved, and it cannot force your browser to refresh), but for me, it’s a viable workaround until such time as PreviewHTML is released 64-bit.

                              I just pinged that ticket again, since it had been more than a year since my last ping. Maybe if everyone in this thread pinged it, too, it might get done.

                              andrecool-68A 1 Reply Last reply Reply Quote 2
                              • PeterJonesP
                                PeterJones
                                last edited by

                                Maybe if everyone in this thread pinged it, too, it might get done.

                                As an addendum: @andrecool-68 : since you were able to compile it 64-bit, your input for the developer would probably go a long way! Please chime in on that ticket! 🙏

                                1 Reply Last reply Reply Quote 1
                                • andrecool-68A
                                  andrecool-68 @PeterJones
                                  last edited by

                                  @PeterJones said:

                                  You mean like this ticket, which the author has had open since July of 2017?

                                  Honestly, I have not seen this page)))
                                  I just downloaded the sources and compiled the project by adding the option 64 bits to the properties of the project.

                                  1 Reply Last reply Reply Quote 2
                                  • PeterJonesP
                                    PeterJones
                                    last edited by

                                    @andrecool-68 said:

                                    I just downloaded the sources and compiled the project by adding the option 64 bits to the properties of the project.

                                    Well then, plesae add a note to the ticket that tells the author how easy it is, in your experience. 🙏

                                    Meta ChuhM andrecool-68A 2 Replies Last reply Reply Quote 1
                                    • Meta ChuhM
                                      Meta Chuh moderator @PeterJones
                                      last edited by

                                      @PeterJones

                                      does the x64 version that @andrecool-68 compiled, not suffice the current needs ?
                                      is the missing toolbar button really that important ?
                                      or have i missed something while i was testing ?

                                      1 Reply Last reply Reply Quote 1
                                      • PeterJonesP
                                        PeterJones
                                        last edited by

                                        Some IT groups block such a URL.

                                        Also, for helping others, I don’t really like saying “go to this official location to download the 32-bit; but to get the 64-bit, you have to go to this other file-hosting URL”

                                        1 Reply Last reply Reply Quote 1
                                        • PeterJonesP
                                          PeterJones
                                          last edited by

                                          I was able to get a copy. It crashes my Notepad++ when I try to run it.

                                          Notepad++ v7.6.3   (64-bit)
                                          Build time : Jan 27 2019 - 17:16:47
                                          Path : C:\usr\local\apps\notepad++\notepad++.exe
                                          Admin mode : OFF
                                          Local Conf mode : ON
                                          OS : Windows 10 (64-bit)
                                          Plugins : ComparePlugin.dll DSpellCheck.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExec.dll NppFTP.dll PreviewHTML.dll PythonScript.dll XMLTools.dll 
                                          
                                          Meta ChuhM 1 Reply Last reply Reply Quote 1
                                          • andrecool-68A
                                            andrecool-68 @PeterJones
                                            last edited by

                                            @PeterJones
                                            It’s better for me to use a browser than with a similar plugin, in the browser it is very convenient to edit styles. And immediately visible results. All of these plugins work as a help file on the core of Internet Explorer)))

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