Notepad++ htmltidy - unable to find libtidy.dll

Notepad++Htmltidy

Notepad++ Problem Overview


I'm on a relatively new Windows 7 machine and in Notepad++ the TextFX HTMLTidy doesn't work. It says "Unable to find libTidy.dll in the system path or C:\program files (x86)\Notepad++\plugins\Config\tidy\libTidy.dll". Some links suggest moving the files to that location, but where do I get them from? Argh, why do I always find Notepad++ plugins so frustrating!

I'm using Notepad++ 5.9.3 on Windows 7 x64.

Notepad++ Solutions


Solution 1 - Notepad++

Oh, it looks like it's something annoying with plugins not being included in 5.9.3, but being included in earlier versions. See post here.

The solution is to download the 5.9 ZIP file from here, then copy the plugins\config folder to the Notepad++\plugins folder.

Solution 2 - Notepad++

After searching around, I found that you don't have to download Notepad++ v5.9.

TextFX with HTML Tidy can be downloaded from here.

Copy the NPPTextFX folder to the Notepad++ plugins\Config directory (such as C:\Program Files (x86)\Notepad++\plugins\Config), rename it to tidy, then restart Notepad++.


TextFX is no longer being developed, see this page.

> This plugin has no maintainer and wants one; please see TextFX's Future

Solution 3 - Notepad++

For those still searching for libtidy.dll. It appears that version 5.9 of Notepad++ is no longer available for download (at least there is no link on the downloads page and making a educated stab at a URL of http://notepad-plus-plus.org/download/v5.9.html returns a 404).

There is a 'dll' link on the HTML Tidy SourceForge page (http://tidy.sourceforge.net/) dated 2006; but it returns a DNS error.

Google did return a hit on a site called "DLL Me," but I'm not going to download anything from a site that sketchy; so as of this writing: no libtidy.dll to be found.

--edit-- Finally found a link directly out of the TuxFamily distro server: http://download.tuxfamily.org/notepadplus/5.9/npp.5.9.bin.zip">npp.5.9.bin.zip</a> (thanks @https://stackoverflow.com/users/12113/noah">noah</a>;).

Solution 4 - Notepad++

As an alternative, you can use the HTML Tidy 2 plugin, which is based on Tidy HTML 5. It works with the latest Notepad++ version.

You can install it using the plugin manager, or manually by grabbing the latest version and extracting the contents into your Notepad++\plugins directory.

An updated version of the plugin can be found Here.

Solution 5 - Notepad++

It doesn't look like the libTidy.dll functionality was actually removed, just coopted by NppTextFX.

I enabled it in my installation of Notepad++ v6.1.5 by installing TextFX Characters via Plugin Manager. Two things happened after that: 1. NppTextFX.dll was copied in (Notepad++ install directory)\plugins\ directory and; 2. TextFX menu item is enabled between Run and Plugins, which now has the TextFX HTML Tidy option.

Also, there's no difference between the ANSI and Unicode versions of libTidy.dll in npp.5.9.bin.zip. I ran both through WinMerge.

Solution 6 - Notepad++

You can download this file from here and put this file in this path: C:\Program Files (x86)\Notepad++\plugins\Config\tidy

Solution 7 - Notepad++

I found the best option ever for this:

In Notepad++ 6.3.2, enable the "TextFX Characters" plugin from the "plugin manager".

That is all.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRoryView Question on Stackoverflow
Solution 1 - Notepad++RoryView Answer on Stackoverflow
Solution 2 - Notepad++uınbɐɥsView Answer on Stackoverflow
Solution 3 - Notepad++ericxView Answer on Stackoverflow
Solution 4 - Notepad++Saeb AminiView Answer on Stackoverflow
Solution 5 - Notepad++alfieView Answer on Stackoverflow
Solution 6 - Notepad++user1892034View Answer on Stackoverflow
Solution 7 - Notepad++idodidoView Answer on Stackoverflow