Poţi încerca cu Dreamweaver. Deşi nu îl folosesc, ştiu că are o opţiune ce îţi permite aranjarea automată a codului.