views:

6062

answers:

7

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?

A: 
A: 

Strange! I have the latest version. I tried both the installer, and the binaries. Can you upload (rapidshare, etc) a zip of your notepad++ to see what it does in my PC?

Aethex
+6  A: 

All of the menu options except the first one rewrite the HTMLTIDY.CFG file, which specifies the formatting rules that HTML Tidy uses. If HTMLTIDY.CFG does not exist, these menu options may not work.

Create a text file and type a simple instruction like:

text-spaces: 2

Save the file as htmltidy.cfg in %ProgramFiles%\Notepad++\plugins\Config\tidy. Restart Notepad++ and all of the options should work.

phenry
Hmmm.... But why did it not work before?Thanks for the answer!
Aethex
A: 

The trick is to get a libtidy.dll version that supports Unicode - still looking for it myself.

+5  A: 

I has this problem in Windows 7... the solution for me was to make sure that the permissions were properly set on HTMLTIDY.CFG

nsitu
this one did it for me, but I edited the user permissions for the file %ProgramFiles%\Notepad++\plugins\Config\tidy\TIDYCFG.INI (np++ v5.6.8)
mtness
actually, one hast to adjust the user permissions on both of the files.
mtness
A: 

It's actually the folder (%ProgramFiles%\Notepad++\plugins\Config\tidy) that needs to be writable, not only TIDYCFG.INI. This will allow Notepad++ to write HTMLTIDY.ERR also.

Give "all users" (or whatever it's called on your machine) full control over the folder, and everything should work fine.

Peter
A: 

What Peter said worked for me on my Windows 7 Starter netbook. I had to give Write & Modify permissions (least permissions) on the Config folder located in %Program Files%\Notepad++\Plugins\Config. I had also modified permissions on the Tidycfg.ini file as well.

Kelley