htmlnotepad++tidyhtmltidy

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?


Solution

  • 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.