Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ HTML Tidy

Is HTML Tidy for Notepad++ broken? None of the commands except Tidy (the first one) work. They don't show any message, even with all text selected. I really need Tidy to work, or is it just a limitation of the newest version of N++, or lack of support?

Also, the custom syntax dialog freezes whenever I select a color from the color dialog. It remains unresponsive until I click one of the bold, italic, or underline checkboxes. Is this a bug? How do I fix it?

like image 569
Aethex Avatar asked Apr 30 '09 23:04

Aethex


People also ask

What does HTML Tidy do?

Many tools generate HTML with an excess of FONT, NOBR and CENTER tags. Tidy's -clean option will replace them by style properties and rules using CSS. This makes the markup easier to read and maintain as well as reducing the file size!


1 Answers

Windows 7-10 x64, Notepad++ 5.9.5 Solution:

It has to do with the libTidy.dll not being included in the current distributions.
However, it was available in earlier versions.

Solution is to download the 5.9 zip, then
copy one of the following folders:
ansi\plugins\Config\tidy or Unicode\plugins\Config\tidy
to your current Notepad++\plugins\Config folder

Also, if you install to the c:\Program Files or c:\Program Files (x86) directories, you will need to adjust the permissions on the tidy folder to allow non-administrator access

like image 130
Noah Avatar answered Sep 30 '22 01:09

Noah