Automated Code Formatting
Hadra38
Posted messages
109
Status
Member
-
Tomdfrds -
Tomdfrds -
Hello,
I generate an HTML page through a VB program; however, I use an XML API which means the entire page is contained in a single line.
I would like to find a quick way to format the code so that I can debug more easily.
I have looked into Notepad++ plugins but haven't found anything...
Can you help me?
I generate an HTML page through a VB program; however, I use an XML API which means the entire page is contained in a single line.
I would like to find a quick way to format the code so that I can debug more easily.
I have looked into Notepad++ plugins but haven't found anything...
Can you help me?
2 answers
-
I just found another solution in Notepad++:
TextFx>TextFx HTML Tidy>Tidy: Reindent XML
It reshapes everything and in technicolor!-
-
-
Salut,
c'est un sujet ancien mais voici ma contribution :
Tidy n'est plus supporté, mais vous pouvez toujours utiliser cette ancienne version :
Après avoir cherché, j'ai trouvé que vous n'avez pas besoin de télécharger Notepad++ v5.9.
TextFX avec HTML Tidy peut être téléchargé à cette adresse :
http://textfx.no-ip.com/textfx/NPPTextFX27-v0.24aRelease-NPP34.zip
Copiez le dossier NPPTextFX dans le répertoire de plugins\Config de Notepad++ (par exemple C:\Program Files (x86)\Notepad++\plugins\Config), renommez-le en tidy, puis redémarrez Notepad++.
TextFX n'est plus en développement, voyez cette page :
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central#_151
-> Cette information provient de cette page :
http://stackoverflow.com/questions/6985637/notepad-htmltidy-unable-to-find-libtidy-dll
Au revoir -
-
-
-
Well, finally by a stroke of luck I found it...! Lol
I use Cooktop, a software for XML...!
This post might be useful to someone else...