问题
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:
- Format HTML document
- Notepad++ HTML Tidy
- Notepad++ HTML Tidy Unknown Exception Windows 7 x64
Here is what I did:
- Installed
TextFx
plugin as ofPlugins / PluginManager
: OK - Created default
tidycfg.ini
as of here: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=HTML_Tidy - 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