Notepad++ 6.1.x and HTMLTidy

心已入冬 提交于 2019-12-30 06:09:25

问题


Has someone got Notepad 6.1.x and HTMLTidy working and can tell me, where to download the dll / config. Using: Notepad++ 6.1.4 Win 7 x86

Yes, this Notepad++ / TidyHTML question has been already asked, but it either refers to outdated URLs, does not work with newer Notepad++ 6.1. versions, or does not work at all.

SO References:

  1. Format HTML document
  2. Notepad++ HTML Tidy
  3. Notepad++ HTML Tidy Unknown Exception Windows 7 x64

Here is what I did:

  1. Installed TextFx plugin as of Plugins / PluginManager: OK
  2. Created default tidycfg.ini as of here: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=HTML_Tidy
  3. Downloaded libtidy.dll from here: http://www.paehl.com/open_source/?HTML_Tidy_for_Windows (some cr... ad pops up)

Now I got a HTMLTidy menu, but when I run it, it crashes. So I would need a different dll or another setup whatsoever.


回答1:


Eventually I found a solution here: https://stackoverflow.com/a/7935797/356726

The 5.9 plugins worked for me with version 6.1.x of Notepad++, but even having the unicode version I had to use the ANSI plugin. The Unicode plugins crashed.




回答2:


Download old version notepad++ in zip format.

Copy from zip \unicode\plugins\Config\tidy to C:\Program Files (x86)\Notepad++\plugins\Config\tidy

restart notepad++ and now you have available the plug-in

Menu -> TextFX -> TextFX HTML Tidy –> Tidy: Reindent XML

Link to download old version whit the plugin http://notepad-plus-plus.org/download/v5.6.8.html



来源:https://stackoverflow.com/questions/11591532/notepad-6-1-x-and-htmltidy

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