Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ 6.1.x and HTMLTidy

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.

Menus are OKCrash

like image 568
Horst Walter Avatar asked Jul 21 '12 10:07

Horst Walter


2 Answers

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.

like image 162
Horst Walter Avatar answered Sep 21 '22 13:09

Horst Walter


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

like image 41
Adrian Avatar answered Sep 21 '22 13:09

Adrian