Preview Plugin
-
testing complete:
iāve cloned a windows 10 vm with your current setup (resistance is futile š¦¹āāļø) and i can confirm your experience ā¦ ahhh, such a nice wording ā¦ experience ā¦ makes it almost sound as if it is something to enjoy ā¦ i think iāll watch another bob ross episode, while iām typing this š
my test setup:
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
(ps: no joke)
PreviewHTML will crash exit notepad++ on windows 10 pro x64, regardless of itās settings and regardless of any other installed or removed plugins.
on windows 7 pro x64 it works fine, except the ? or about menu.
-
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 š -
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
-
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 šš -
-
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. -
@vor0nwe
The plugin works without errors!
Thanks for updating the source code! -
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, likeFilters.ini
andSettings.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 benpp.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 createdPreviewHTML
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
-
-
@andrecool-68 Youāre welcome!
How did you manage to translate it in ŃŃŃŃŠŗŠøŠ¹? Just got the updated source, and adjusted the text in there?
-
@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.
-
@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! -
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.