How i do proper code formatting in Notepad++ in any programming language -
<html> <head> <title> java script file </title> <script> alert("hacked file!") document.write("hello world!"); </script> </head> <body></body> </html>
notepad++ not format code how apply source formatting.
select html and...
textfx -> html tidy -> tidy: reindent xml
you may need install textfx plugin if not have already. https://sourceforge.net/projects/npp-plugins/files/textfx/ or more easily:
plugins > plugin manager > textfx > install
Comments
Post a Comment