View Ticket
Not logged in
Ticket UUID: eb31983d10e258d07870e9697566b53076a74ad7
Title: Installation of the plugin failed
Status: Fixed Type: Feature_Request
Severity: Important Priority: Medium
Subsystem: (Other) Resolution: Misconfiguration
Last Modified: 2019-02-08 10:26:30
Version Found In: 1.2.1
User Comments:
anonymous added on 2018-11-22 09:19:31:
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?

tinus added on 2018-11-22 15:06:28:
When you installed the plugin manually, did it show up in the Plugins menu? What happens when you click the "Preview HTML" menu item?

randychs (claiming to be RandyCHS) added on 2018-12-03 02:06:15:
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

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.