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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -