Notepad++ HTML Tidy Unknown Exception Windows 7 x64

纵饮孤独 提交于 2019-12-10 19:01:26

问题


When I attempt to run HTML Tidy from the TextFX menu in NotePad++ (v5.9.3) I get the following error:

Config file "C:\Program Files(x86)\Notepad++\plugins\Config\tidy\HTMLTIDY.CFG" not found! I'll pick whatever defaults I want to!

After I click OK I get:

"Unknown exception" and my cursor changes to the hourglass whenever I am in the document I was attempting to run HTMLTidy on.

The file exists in the location specified, I have tried changing the permissions on the file so Everyone has full control but that made no difference.


回答1:


Windows 7 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 the ansi\plugins\Config\tidy folder 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




回答2:


I have the same problem. Seems to be a bug. Wasted a few hours on this.

Ended up piping everything through the Tidy online beatutifier.



来源:https://stackoverflow.com/questions/7587372/notepad-html-tidy-unknown-exception-windows-7-x64

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!