Notepad++ HTML Tidy

2019-01-17 09:15发布

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?

9条回答
甜甜的少女心
2楼-- · 2019-01-17 10:07

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.

查看更多
走好不送
3楼-- · 2019-01-17 10:09

Right-click Notepad++
Run as administrator

查看更多
干净又极端
4楼-- · 2019-01-17 10:11

My guess is that you need to upgrade. I have Notepad++ 5.3.1 (Unicode). The TextFX HTML Tidy plugin works just fine, and the color picker—which used to give me the same problem as you describe—no longer locks up the Styler dialog.

查看更多
登录 后发表回答