views:

60

answers:

1

I am looking for an app that can do what the "Format Document" function does in Visual Studio. Something really stupid (maybe even an add-on to a normal text editor) that will basically turn this:

<div><table><tr><td><?php echo 'earth'; ?></td></tr></table></div>

into this:

<div>
  <table>
    <tr>
      <td>
        <?php echo 'earth'; ?>
      </td>
    </tr>
  </table>
</div>
+1  A: 

use NotePad++ with Tidy plugin

see here for more informations.

najmeddine