View Ticket
Not logged in
Ticket UUID: eb31983d10e258d07870e9697566b53076a74ad7
Title: Installation of the plugin failed
Status: Closed Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: (Other) Resolution: Misconfiguration
Last Modified: 2019-03-17 11:04:53
Version Found In: 1.2.1
User Comments:
anonymous added on 2018-11-22 09:19:31: <verbatim-b3cbd7b3738496a2c906 links>I have installed preview plugin manually, i.e. I downloaded and copied Config and Preview HTML into the Notepad ++ Plugin folder. It shows as installed in the Notepad plugin Manager, but I don't get the preview.

My file is saved in html, restarting Notepad doesn't do anything either.

I tried to reinstall the plugin from the plugin manager and get the message that in Preview HTML failed.

What am I doing wrong?</verbatim-b3cbd7b3738496a2c906>


tinus added on 2018-11-22 15:06:28: <verbatim-2e8339f43e8fdd33123e links>When you installed the plugin manually, did it show up in the Plugins menu? What happens when you click the "Preview HTML" menu item?</verbatim-2e8339f43e8fdd33123e>
randychs (claiming to be RandyCHS) added on 2018-12-03 02:06:15: <verbatim-fc10c36c22e9808bb5af>I'm having the same problem. I've installed the PreviewHTML.dll in the plugins directory and the PreviewHTML folder (with the filters.ini file) in the Config folder. Still no Preview HTML menu item</verbatim-fc10c36c22e9808bb5af>
tinus added on 2019-02-08 10:25:41:

Notepad++ has changed the way it loads plugins, since version 7.6.
It changed a bit between 7.6.0 and 7.6.3, but seems to have settled on this:
New Plugins Home (Round 2)

Basically, the plugin should now be installed in $(NPP_INST_DIR)\plugins\<dll_name>\<dll_name>.dll.
As for the filter.ini file, just use the menu item "Preview HTML / Edit filter definitions" to open it, and then check its full path.

Where:

  • $(NPP_INST_DIR) is where you're running notepad++.exe from;
  • <dll_name> is the name of the plugin’s DLL (npp_preview in this case).

I still haven’t tested this though (still on an older version of Np++ for other reasons), so please let me know if you got it to work.