Gibt es ein Tool, das wie folgt funktioniert Resharper
für C#, sondern für HTML/PHP für die Windows-Plattform? Ich kopiere oft einige große Stücke von Code zu Notepad aus CMS und es ist oft unformatiert oder sehr schlecht formatiert, so dass es schwer zu lesen ist. Möchte einige Resharper CleanUp-Funktion, die es richtig für einfach zu bedienen/lesen Dokument formatieren würde.
Beispiel vor der Formatierung:
<p>
<a class="hov" href="index.php?option=com_content&view=article&id=15&Itemid=16"><img alt="" src="files/images/buttons/btn_kalkulator1.gif" style="width: 272px; height: 235px;" /></a><a class="hov" href="index.php?option=com_content&view=article&id=10&Itemid=15"><img alt="" src="files/images/buttons/btn_kalkulator2.gif" style="width: 272px; height: 235px;" /></a></p>
Beispiel nach der Formatierung
<p>
<a class="hov" href="index.php?option=com_content&view=article&id=15&Itemid=16">
<img alt="" src="files/images/buttons/btn_kalkulator1.gif" style="width: 272px; height: 235px;" />
</a>
<a class="hov" href="index.php?option=com_content&view=article&id=10&Itemid=15">
<img alt="" src="files/images/buttons/btn_kalkulator2.gif" style="width: 272px; height: 235px;" />
</a>
</p>