• Login
Community
  • Login

Preview Plugin

Scheduled Pinned Locked Moved General Discussion
44 Posts 6 Posters 25.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.
  • M
    Meta Chuh moderator @PeterJones
    last edited by Mar 16, 2019, 12:32 AM

    @PeterJones

    From what I remembered, the PreviewHTML plugin is slightly more live than “on-save”; I think it can update every 15s or something like that. And definitely if you hit refresh. (I hit Ctrl+S – save early, save often! – often enough that I usually don’t notice a difference in timing).

    yes, you are correct, i’m sorry about that. i was only testing the x64 build from andre.
    i’ve just tested the original PreviewHTML x86 version, and this does not require saving at all.
    the x86 version gives me a live preview, after a 2 second timeout, as soon as i stop typing.

    it seems that the x64 test build does not receive or handle any notepad++ events. not even a save event.

    In fact, that filter-to-HTML-with-on-save-preview was what prompted me to write pyscFilteredViewer, because while I don’t edit much HTML, I am frequently playing with the POD in my Perl, and having the nearly-live preview is nice.

    it will probably consume much time and energy, but in this case i’m glad that PreviewHTML does not work properly on x64.
    otherwise pyscfr wouldn’t have been born … like some real babies, which would probably not exist, if their parent’s tv would have worked that specific night 😉

    E 1 Reply Last reply Mar 16, 2019, 12:52 AM Reply Quote 3
    • E
      Ekopalypse @Meta Chuh
      last edited by Mar 16, 2019, 12:52 AM

      @Meta-Chuh

      like some real babies, which would probably not exist, if their parent’s tv would have worked that specific night

      are you speaking from WONDERFUL EXPERIENCE, Bob? ;-D

      M 1 Reply Last reply Mar 16, 2019, 1:11 AM Reply Quote 1
      • M
        Meta Chuh moderator @Ekopalypse
        last edited by Mar 16, 2019, 1:11 AM

        @Ekopalypse

        loooool.

        i like the way you are thinking, closing as much circles as possible.
        i bet if someone would give you a straight, completely unbendable rod of steel, you will bend the space around it, just to make it a harmonic circle 😄👍

        E 1 Reply Last reply Mar 16, 2019, 1:14 AM Reply Quote 1
        • E
          Ekopalypse @Meta Chuh
          last edited by Mar 16, 2019, 1:14 AM

          @Meta-Chuh

          like we say - STEILvorlage. :-D

          sorry - don’t know how to translate that word.

          1 Reply Last reply Reply Quote 1
          • V
            vor0nwe
            last edited by Mar 16, 2019, 12:59 PM

            Hi all, author of the Preview HTML plugin here.

            I finally managed to get time, energy and motivation at the same time. The link to the 64-bits plugin is available on its home page .

            I’ve also updated the installation instructions, where there was a mismatch between Notepad++'s changed plugins folder, and the structure of the zip. It should now suffice to unzip the file in the plugins folder, unless you’ve got an older version of Notepad++.

            Apologies for not fixing this sooner, and kudos to @andrecool-68 for managing to build it from source!

            I’ve tested it on my machine, and the toolbar button is present and functional. Let me know if you run into trouble with it.
            Either in this thread, or by creating a ticket or a forum post over on the plugin’s site. Of course, should you prefer creating a new thread on this forum, please notify me via an @ mention. I won’t be monitoring this forum otherwise.

            A M 2 Replies Last reply Mar 16, 2019, 7:46 PM Reply Quote 4
            • A
              andrecool-68 @vor0nwe
              last edited by Mar 16, 2019, 7:46 PM

              @vor0nwe
              The plugin works without errors!
              Thanks for updating the source code!

              Imgur

              V 1 Reply Last reply Mar 16, 2019, 9:07 PM Reply Quote 2
              • M
                Meta Chuh moderator @vor0nwe
                last edited by Meta Chuh Mar 19, 2019, 8:32 AM Mar 16, 2019, 8:59 PM

                a very warm welcome to the notepad++ community, @vor0nwe

                many thanks for releasing PreviewHTML for x64, and especially for taking the time to answer this specific thread in person.
                big kudos, both is very much appreciated. 👍

                a little note to your installation instructions:

                The plugins directory can be located at %AppData%\Notepad++\plugins, or just below the directory containing notepad++.exe, e.g. C:\Program Files\Notepad++\plugins.

                the versions 7.6.3, 7.6.4 and above have their plugins solely at [Notepad++ Program Folder]\plugins.
                for installed versions, your plugin target folder would be e.g. %ProgramFiles%\Notepad++\plugins\PreviewHTML, or %ProgramFiles(x86)%\Notepad++\plugins\PreviewHTML.
                with additional, user specific files, like Filters.ini and Settings.ini at %AppData%\Notepad++\plugins\config\PreviewHTML, but for guides purpose it is better not mention them, as the location varies, depending on the notepad++ installation type, and the files will be created automatically anyways, when accessing the PreviewHTML edit settings/filter menu.
                for portable versions the plugin dll location would be npp.7.6.4.bin.x64\plugins\PreviewHTML.

                if you would like to extend your installation guide, to bridge the time between your submission to the plugins admin list, and the implementation into plugins admin:


                the easiest and simplified guide to install PreviewHTML, on versions above 7.5.9, would be something like:

                • If you are using a Notepad++ version 7.6.0. or higher, please make sure you update to notepad 7.6.4. or above.

                • Open Notepad++ and go to the menu: Plugins > Open Plugins Folder... to open your specific plugins folder in Windows Explorer.

                • Create a folder called PreviewHTML inside your plugins folder.

                • Copy PreviewHTML.dll to the created PreviewHTML folder.

                • Restart Notepad++.


                note: as notepad++ versions 7.6.4 and above have the Plugins > Open Plugins Folder..., it will be much easier for users to install custom plugins, without having to know, or search for their specific location, which varies depending on the notepad++ versions.

                if you like to extend your installation guide, please feel free to use and/or adapt any parts of the text above.

                if you wish, you can also link notepad++ specific installation, or other topics regarding your plugin, to the notepad++ community forum’s general discussion page , and we (definitively me), would help supporting users who are stuck installing your plugin.

                ps: if you like, feel absolutely free, to post a release announcement for PreviewHTML v1.3.2.0, at the plugin development page , to attract a wider audience and focus or link supportive questions there.

                best regards

                V 1 Reply Last reply Mar 16, 2019, 9:22 PM Reply Quote 2
                • V
                  vor0nwe @andrecool-68
                  last edited by Mar 16, 2019, 9:07 PM

                  @andrecool-68 You’re welcome!

                  How did you manage to translate it in русский? Just got the updated source, and adjusted the text in there?

                  A 1 Reply Last reply Mar 16, 2019, 10:10 PM Reply Quote 3
                  • V
                    vor0nwe @Meta Chuh
                    last edited by Mar 16, 2019, 9:22 PM

                    @Meta-Chuh Thanks for the welcome! 👍🏻 According to my profile, I’d already signed up a few years ago… :-)

                    Also thanks for your update on the current state of plugin directories. I haven’t really been following the developments, nor do I upgrade to each new version of Notepad++; I’ve had too many unpleasant surprises over the course of the years, so when it works, I now tend to leave it alone, and only upgrade when I really want/need some new functionality that’s only available in later versions. That’s why I hadn’t seen the “Open Plugins Folder” yet; that’s a definite improvement for installing plugins not in the list…

                    I will update the installation documentation like you suggest, including a referral to the general discussion page.

                    As for an announcement on the forum: I looked, but couldn’t really figure out where to post version updates for a plugin. If the plugin development forum is the place for those, I’ll put one up over there.

                    1 Reply Last reply Reply Quote 3
                    • A
                      andrecool-68 @vor0nwe
                      last edited by Mar 16, 2019, 10:10 PM

                      @vor0nwe
                      Translate a few lines in the source code there is no problem))
                      The most important thing that the original project was going without errors!

                      1 Reply Last reply Reply Quote 2
                      • P
                        PeterJones
                        last edited by Mar 16, 2019, 11:44 PM

                        Glad I decided to log in on a Saturday.

                        Thanks for getting that released, @vor0nwe. Much appreciated.

                        It means I’ll probably finally get around to upgrading to 64-bit at home.

                        1 Reply Last reply Reply Quote 3
                        43 out of 44
                        • First post
                          43/44
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors